Recognised as Colour
#08046B
- #08046B
- Blue
- Dark
- Nearest: Midnight blue
#08046B is a blue with RGB values 8, 4, 107 and HSL 242°, 93%, 22%. It is a dark colour, so white text on it reaches 16.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#08046B#08046B
HEX#08046B
RGBrgb(8, 4, 107)
RGB (0–1)0.0314, 0.0157, 0.4196
RGB percentages3.1%, 1.6%, 42%
HSLhsl(242.3, 92.8%, 21.8%)
HSV / HSBhsv(242.3, 96.3%, 42%)
CMYK92.5%, 96.3%, 0%, 58%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer525,419
CSS custom property--colour: #08046B;
Brightness & contrast
Relative luminance0.012WCAG 2.x, 0 is black and 1 is white
Perceived brightness36.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.94:1
Contrast with white16.94:1WCAG normal text: AAA
Contrast with black1.24:1WCAG normal text: Fail
Greyscale equivalent#0C0C0C
Inverted#F7FB94
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.94:1WCAG large text: AAA
Contrast with black, large text1.24:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#676B04
Analogous#04346B, #3B046B
Triadic#6B0804, #046B08
Split complementary#6B3C04, #336B04
Tetradic#6B0434, #676B04, #046B3B
Tints, shades & saturation
Channel breakdown
R8
G4
B107
Red8 (3.1%)
Green4 (1.6%)
Blue107 (42%)
Hue242.33°
Saturation (HSL)92.79%
Lightness21.76%
Dominant channelBlue
Hex per channelR 08 · G 04 · B 6B
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page