Recognised as Colour
#20166B
- #20166B
- Blue
- Dark
- Nearest: Midnight blue
#20166B is a blue with RGB values 32, 22, 107 and HSL 247°, 66%, 25%. It is a dark colour, so white text on it reaches 15.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#20166B#20166B
HEX#20166B
RGBrgb(32, 22, 107)
RGB (0–1)0.1255, 0.0863, 0.4196
RGB percentages12.5%, 8.6%, 42%
HSLhsl(247.1, 65.9%, 25.3%)
HSV / HSBhsv(247.1, 79.4%, 42%)
CMYK70.1%, 79.4%, 0%, 58%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,102,891
CSS custom property--colour: #20166B;
Brightness & contrast
Relative luminance0.01942WCAG 2.x, 0 is black and 1 is white
Perceived brightness43.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.12:1
Contrast with white15.12:1WCAG normal text: AAA
Contrast with black1.39:1WCAG normal text: Fail
Greyscale equivalent#1E1E1E
Inverted#DFE994
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.12:1WCAG large text: AAA
Contrast with black, large text1.39:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#616B16
Analogous#16376B, #4A166B
Triadic#6B2016, #166B20
Split complementary#6B4A16, #376B16
Tetradic#6B1637, #616B16, #166B4A
Tints, shades & saturation
Channel breakdown
R32
G22
B107
Red32 (12.5%)
Green22 (8.6%)
Blue107 (42%)
Hue247.06°
Saturation (HSL)65.89%
Lightness25.29%
Dominant channelBlue
Hex per channelR 20 · G 16 · B 6B
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