WordGPT

#0011AA color

#0011AA is a dark blue colour. It is rgb(0, 17, 170) in RGB and hsl(234, 100%, 33%) in HSL. Text in white reads better on it: the contrast is 12.65:1 against white and 1.66:1 against black.

#0011AA
#0011AA: #0011AA
Complementary#0011AA#AA9900Analogous#0066AA#0011AA#4400AATriadic#0011AA#AA0011#11AA00Tetradic (square)#0011AA#AA0066#AA9900#00AA44Split complementary#0011AA#AA4400#66AA00
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
00031c000639000955000b71000e8e0011aa2b39b85560c68088d5aab0e3d5d7f1
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{#0011AA}:\quad R=\mathrm{00}_{16}=0,\ G=\mathrm{11}_{16}=17,\ B=\mathrm{AA}_{16}=170
  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=234∘,S=100%,L=33%H=234^\circ,\quad S=100\%,\quad L=33\%
  3. 3

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

    234^\circ + 180^\circ = 54^\circ ;\Rightarrow; \mathrm{#AA9900}
  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=12.65:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 12.65:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#0011AA} = \mathrm{rgb}(0, 17, 170) \]
\[ \mathrm{#0011AA}:\quad R=\mathrm{00}_{16}=0,\ G=\mathrm{11}_{16}=17,\ B=\mathrm{AA}_{16}=170 \]
\[ H=234^\circ,\quad S=100\%,\quad L=33\% \]
\[ 234^\circ + 180^\circ = 54^\circ ;\Rightarrow; \mathrm{#AA9900} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 12.65:1\ \text{(on white)} \]

#0011AA in every colour format

FormatValue
HEX#0011AA
RGBrgb(0, 17, 170)
RGB (percent)rgb(0.0%, 6.7%, 66.7%)
HSLhsl(234, 100%, 33%)
HSV / HSBhsv(234, 100%, 67%)
CMYKcmyk(100%, 90%, 0%, 33%)
Decimal4522
Descriptiondark blue

Text contrast (WCAG)

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

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#00031C #000639 #000955 #000B71 #000E8E
This colour#0011AA
Tints (mixed with white)#2B39B8 #5560C6 #8088D5 #AAB0E3 #D5D7F1

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#003BAE27
Deuteranopia#002AA816
Tritanopia#00486383
Grayscale#333333-

Nearest named colours

NameHex
Dark blue#00008B
Navy#000080
Medium blue#0000CD
Indigo#4B0082

Questions

What is the RGB value of #0011AA?

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

What is the HSL value of #0011AA?

hsl(234, 100%, 33%): a hue of 234°, 100% saturation and 33% lightness.

What is the complementary colour of #0011AA?

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

Should I use white or black text on #0011AA?

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

What is the CMYK value of #0011AA?

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

What is the closest named colour to #0011AA?

Dark blue (#00008B).

Matching colours

A little darker, a little lighter

Make a palette

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