WordGPT

#001122 color

#001122 is a very dark blue colour. It is rgb(0, 17, 34) in RGB and hsl(210, 100%, 7%) in HSL. Text in white reads better on it: the contrast is 19.03:1 against white and 1.10:1 against black.

#001122
#001122: #001122
Complementary#001122#221100Analogous#002222#001122#000022Triadic#001122#220011#112200Tetradic (square)#001122#220022#221100#002200Split complementary#001122#220000#222200
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
00030600060b000911000b17000e1c0011222b394755606c808891aab0b5d5d7da
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{#001122}:\quad R=\mathrm{00}_{16}=0,\ G=\mathrm{11}_{16}=17,\ B=\mathrm{22}_{16}=34
  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=210∘,S=100%,L=7%H=210^\circ,\quad S=100\%,\quad L=7\%
  3. 3

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

    210^\circ + 180^\circ = 30^\circ ;\Rightarrow; \mathrm{#221100}
  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=19.03:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 19.03:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#001122} = \mathrm{rgb}(0, 17, 34) \]
\[ \mathrm{#001122}:\quad R=\mathrm{00}_{16}=0,\ G=\mathrm{11}_{16}=17,\ B=\mathrm{22}_{16}=34 \]
\[ H=210^\circ,\quad S=100\%,\quad L=7\% \]
\[ 210^\circ + 180^\circ = 30^\circ ;\Rightarrow; \mathrm{#221100} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 19.03:1\ \text{(on white)} \]

#001122 in every colour format

FormatValue
HEX#001122
RGBrgb(0, 17, 34)
RGB (percent)rgb(0.0%, 6.7%, 13.3%)
HSLhsl(210, 100%, 7%)
HSV / HSBhsv(210, 100%, 13%)
CMYKcmyk(100%, 50%, 0%, 87%)
Decimal4386
Descriptionvery dark blue

Text contrast (WCAG)

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

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#000306 #00060B #000911 #000B17 #000E1C
This colour#001122
Tints (mixed with white)#2B3947 #55606C #808891 #AAB0B5 #D5D7DA

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#0912232
Deuteranopia#040E222
Tritanopia#00151711
Grayscale#101010-

Nearest named colours

NameHex
Black#000000
Dark slate gray#2F4F4F
Dim gray#696969
Dark slate blue#483D8B

Questions

What is the RGB value of #001122?

rgb(0, 17, 34): red 0, green 17, blue 34.

What is the HSL value of #001122?

hsl(210, 100%, 7%): a hue of 210°, 100% saturation and 7% lightness.

What is the complementary colour of #001122?

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

Should I use white or black text on #001122?

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

What is the CMYK value of #001122?

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

What is the closest named colour to #001122?

Black (#000000).

Matching colours

A little darker, a little lighter

Make a palette

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