WordGPT

#222233 color

#222233 is a very dark grayish blue colour. It is rgb(34, 34, 51) in RGB and hsl(240, 20%, 17%) in HSL. Text in white reads better on it: the contrast is 15.62:1 against white and 1.34:1 against black.

#222233
#222233: #222233
Complementary#222233#333322Analogous#222B33#222233#2B2233Triadic#222233#332222#223322Tetradic (square)#222233#33222B#333322#22332BSplit complementary#222233#332B22#2B3322
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
0606080b0b1111111a1717221c1c2b2222334747556c6c77919199b5b5bbdadadd
From dark shades (left, mixed with black) to light tints (right, mixed with white)

How to work it out

  1. 1

    A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).

    \mathrm{#222233}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{33}_{16}=51
  2. 2

    HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.

    H=240∘,S=20%,L=17%H=240^\circ,\quad S=20\%,\quad L=17\%
  3. 3

    The complementary colour sits opposite on the wheel: add 180° to the hue.

    240^\circ + 180^\circ = 60^\circ ;\Rightarrow; \mathrm{#333322}
  4. 4

    Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).

    contrast=L1+0.05L2+0.05=15.62:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 15.62:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#222233} = \mathrm{rgb}(34, 34, 51) \]
\[ \mathrm{#222233}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{33}_{16}=51 \]
\[ H=240^\circ,\quad S=20\%,\quad L=17\% \]
\[ 240^\circ + 180^\circ = 60^\circ ;\Rightarrow; \mathrm{#333322} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 15.62:1\ \text{(on white)} \]

#222233 in every colour format

FormatValue
HEX#222233
RGBrgb(34, 34, 51)
RGB (percent)rgb(13.3%, 13.3%, 20.0%)
HSLhsl(240, 20%, 17%)
HSV / HSBhsv(240, 33%, 20%)
CMYKcmyk(33%, 33%, 0%, 80%)
Decimal2236979
Descriptionvery dark grayish blue

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text15.62:1passpasspasspass
Black text1.34:1failfailfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#060608 #0B0B11 #11111A #171722 #1C1C2B
This colour#222233
Tints (mixed with white)#474755 #6C6C77 #919199 #B5B5BB #DADADD

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#1D24343
Deuteranopia#1D23333
Tritanopia#1E252811
Grayscale#242424-

Nearest named colours

NameHex
Black#000000
Dark slate gray#2F4F4F
Dim gray#696969
Slate gray#708090

Questions

What is the RGB value of #222233?

rgb(34, 34, 51): red 34, green 34, blue 51.

What is the HSL value of #222233?

hsl(240, 20%, 17%): a hue of 240°, 20% saturation and 17% lightness.

What is the complementary colour of #222233?

#333322, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #DDDDCC.

Should I use white or black text on #222233?

White. White gives 15.62:1 and black 1.34:1; the better one passes WCAG AA for normal text.

What is the CMYK value of #222233?

cmyk(33%, 33%, 0%, 80%). This is a simple formula conversion; printed colours depend on the printer profile.

What is the closest named colour to #222233?

Black (#000000).

Matching colours

A little darker, a little lighter

Make a palette

    #222233 color: RGB, HSL, CMYK, shades and matching palettes | WordGPT