WordGPT

#001166 color

#001166 is a dark blue colour. It is rgb(0, 17, 102) in RGB and hsl(230, 100%, 20%) in HSL. Text in white reads better on it: the contrast is 16.51:1 against white and 1.27:1 against black.

#001166
#001166: #001166
Complementary#001166#665500Analogous#004466#001166#220066Triadic#001166#660011#116600Tetradic (square)#001166#660044#665500#006622Split complementary#001166#662200#446600
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
000311000622000933000b44000e550011662b39805560998088b3aab0ccd5d7e6
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{#001166}:\quad R=\mathrm{00}_{16}=0,\ G=\mathrm{11}_{16}=17,\ B=\mathrm{66}_{16}=102
  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=230∘,S=100%,L=20%H=230^\circ,\quad S=100\%,\quad L=20\%
  3. 3

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

    230^\circ + 180^\circ = 50^\circ ;\Rightarrow; \mathrm{#665500}
  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=16.51:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 16.51:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#001166} = \mathrm{rgb}(0, 17, 102) \]
\[ \mathrm{#001166}:\quad R=\mathrm{00}_{16}=0,\ G=\mathrm{11}_{16}=17,\ B=\mathrm{66}_{16}=102 \]
\[ H=230^\circ,\quad S=100\%,\quad L=20\% \]
\[ 230^\circ + 180^\circ = 50^\circ ;\Rightarrow; \mathrm{#665500} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 16.51:1\ \text{(on white)} \]

#001166 in every colour format

FormatValue
HEX#001166
RGBrgb(0, 17, 102)
RGB (percent)rgb(0.0%, 6.7%, 40.0%)
HSLhsl(230, 100%, 20%)
HSV / HSBhsv(230, 100%, 40%)
CMYKcmyk(100%, 83%, 0%, 60%)
Decimal4454
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 text16.51:1passpasspasspass
Black text1.27:1failfailfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#000311 #000622 #000933 #000B44 #000E55
This colour#001166
Tints (mixed with white)#2B3980 #556099 #8088B3 #AAB0CC #D5D7E6

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#00246815
Deuteranopia#001A658
Tritanopia#002C3B53
Grayscale#1F1F1F-

Nearest named colours

NameHex
Midnight blue#191970
Dark slate blue#483D8B
Navy#000080
Indigo#4B0082

Questions

What is the RGB value of #001166?

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

What is the HSL value of #001166?

hsl(230, 100%, 20%): a hue of 230°, 100% saturation and 20% lightness.

What is the complementary colour of #001166?

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

Should I use white or black text on #001166?

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

What is the CMYK value of #001166?

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

What is the closest named colour to #001166?

Midnight blue (#191970).

Matching colours

A little darker, a little lighter

Make a palette

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