Recognised as Colour
#00157D
- #00157D
- Blue
- Dark
- Nearest: Midnight blue
#00157D is a blue with RGB values 0, 21, 125 and HSL 230°, 100%, 25%. It is a dark colour, so white text on it reaches 15:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#00157D#00157D
HEX#00157D
RGBrgb(0, 21, 125)
RGB (0–1)0, 0.0824, 0.4902
RGB percentages0%, 8.2%, 49%
HSLhsl(229.9, 100%, 24.5%)
HSV / HSBhsv(229.9, 100%, 49%)
CMYK100%, 83.2%, 0%, 51%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,501
CSS custom property--colour: #00157D;
Brightness & contrast
Relative luminance0.02017WCAG 2.x, 0 is black and 1 is white
Perceived brightness45.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.96:1
Contrast with white14.96:1WCAG normal text: AAA
Contrast with black1.4:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#FFEA82
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.96:1WCAG large text: AAA
Contrast with black, large text1.4:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7D6800
Analogous#00547D, #29007D
Triadic#7D0015, #157D00
Split complementary#7D2900, #547D00
Tetradic#7D0054, #7D6800, #007D29
Tints, shades & saturation
Channel breakdown
R0
G21
B125
Red0 (0%)
Green21 (8.2%)
Blue125 (49%)
Hue229.92°
Saturation (HSL)100%
Lightness24.51%
Dominant channelBlue
Hex per channelR 00 · 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