Recognised as Colour
#08166F
- #08166F
- Blue
- Dark
- Nearest: Midnight blue
#08166F is a blue with RGB values 8, 22, 111 and HSL 232°, 87%, 23%. It is a dark colour, so white text on it reaches 15.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#08166F#08166F
HEX#08166F
RGBrgb(8, 22, 111)
RGB (0–1)0.0314, 0.0863, 0.4353
RGB percentages3.1%, 8.6%, 43.5%
HSLhsl(231.8, 86.6%, 23.3%)
HSV / HSBhsv(231.8, 92.8%, 43.5%)
CMYK92.8%, 80.2%, 0%, 56.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer530,031
CSS custom property--colour: #08166F;
Brightness & contrast
Relative luminance0.01773WCAG 2.x, 0 is black and 1 is white
Perceived brightness41.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.5:1
Contrast with white15.5:1WCAG normal text: AAA
Contrast with black1.35:1WCAG normal text: Fail
Greyscale equivalent#191919
Inverted#F7E990
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.5:1WCAG large text: AAA
Contrast with black, large text1.35:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#6F6108
Analogous#08496F, #2E086F
Triadic#6F0816, #166F08
Split complementary#6F2E08, #496F08
Tetradic#6F0849, #6F6108, #086F2E
Tints, shades & saturation
Channel breakdown
R8
G22
B111
Red8 (3.1%)
Green22 (8.6%)
Blue111 (43.5%)
Hue231.84°
Saturation (HSL)86.55%
Lightness23.33%
Dominant channelBlue
Hex per channelR 08 · G 16 · B 6F
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