Recognised as Colour
#06157D
- #06157D
- Blue
- Dark
- Nearest: Midnight blue
#06157D is a blue with RGB values 6, 21, 125 and HSL 232°, 91%, 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
#06157D#06157D
HEX#06157D
RGBrgb(6, 21, 125)
RGB (0–1)0.0235, 0.0824, 0.4902
RGB percentages2.4%, 8.2%, 49%
HSLhsl(232.4, 90.8%, 25.7%)
HSV / HSBhsv(232.4, 95.2%, 49%)
CMYK95.2%, 83.2%, 0%, 51%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer398,717
CSS custom property--colour: #06157D;
Brightness & contrast
Relative luminance0.02056WCAG 2.x, 0 is black and 1 is white
Perceived brightness45.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.88:1
Contrast with white14.88:1WCAG normal text: AAA
Contrast with black1.41:1WCAG normal text: Fail
Greyscale equivalent#191919
Inverted#F9EA82
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.88: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#7D6E06
Analogous#06507D, #33067D
Triadic#7D0615, #157D06
Split complementary#7D3306, #507D06
Tetradic#7D0650, #7D6E06, #067D33
Tints, shades & saturation
Channel breakdown
R6
G21
B125
Red6 (2.4%)
Green21 (8.2%)
Blue125 (49%)
Hue232.44°
Saturation (HSL)90.84%
Lightness25.69%
Dominant channelBlue
Hex per channelR 06 · G 15 · B 7D
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