Recognised as Colour
#08056A
- #08056A
- Blue
- Dark
- Nearest: Midnight blue
#08056A is a blue with RGB values 8, 5, 106 and HSL 242°, 91%, 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
#08056A#08056A
HEX#08056A
RGBrgb(8, 5, 106)
RGB (0–1)0.0314, 0.0196, 0.4157
RGB percentages3.1%, 2%, 41.6%
HSLhsl(241.8, 91%, 21.8%)
HSV / HSBhsv(241.8, 95.3%, 41.6%)
CMYK92.5%, 95.3%, 0%, 58.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer525,674
CSS custom property--colour: #08056A;
Brightness & contrast
Relative luminance0.01201WCAG 2.x, 0 is black and 1 is white
Perceived brightness36.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.93:1
Contrast with white16.93:1WCAG normal text: AAA
Contrast with black1.24:1WCAG normal text: Fail
Greyscale equivalent#0D0D0D
Inverted#F7FA95
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.93: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#676A05
Analogous#05356A, #3A056A
Triadic#6A0805, #056A08
Split complementary#6A3A05, #356A05
Tetradic#6A0535, #676A05, #056A3A
Tints, shades & saturation
Channel breakdown
R8
G5
B106
Red8 (3.1%)
Green5 (2%)
Blue106 (41.6%)
Hue241.78°
Saturation (HSL)90.99%
Lightness21.76%
Dominant channelBlue
Hex per channelR 08 · G 05 · B 6A
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