Recognised as Colour
#20186D
- #20186D
- Blue
- Dark
- Nearest: Midnight blue
#20186D is a blue with RGB values 32, 24, 109 and HSL 246°, 64%, 26%. It is a dark colour, so white text on it reaches 14.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#20186D#20186D
HEX#20186D
RGBrgb(32, 24, 109)
RGB (0–1)0.1255, 0.0941, 0.4275
RGB percentages12.5%, 9.4%, 42.7%
HSLhsl(245.6, 63.9%, 26.1%)
HSV / HSBhsv(245.6, 78%, 42.7%)
CMYK70.6%, 78%, 0%, 57.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,103,405
CSS custom property--colour: #20186D;
Brightness & contrast
Relative luminance0.02064WCAG 2.x, 0 is black and 1 is white
Perceived brightness44.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.86:1
Contrast with white14.86:1WCAG normal text: AAA
Contrast with black1.41:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#DFE792
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.86:1WCAG large text: AAA
Contrast with black, large text1.41:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#656D18
Analogous#183B6D, #4A186D
Triadic#6D2018, #186D20
Split complementary#6D4A18, #3B6D18
Tetradic#6D183B, #656D18, #186D4A
Tints, shades & saturation
Channel breakdown
R32
G24
B109
Red32 (12.5%)
Green24 (9.4%)
Blue109 (42.7%)
Hue245.65°
Saturation (HSL)63.91%
Lightness26.08%
Dominant channelBlue
Hex per channelR 20 · G 18 · B 6D
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page