Recognised as Colour
#152C7C
- #152C7C
- Blue
- Dark
- Nearest: Midnight blue
#152C7C is a blue with RGB values 21, 44, 124 and HSL 227°, 71%, 28%. It is a dark colour, so white text on it reaches 12.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#152C7C#152C7C
HEX#152C7C
RGBrgb(21, 44, 124)
RGB (0–1)0.0824, 0.1725, 0.4863
RGB percentages8.2%, 17.3%, 48.6%
HSLhsl(226.6, 71%, 28.4%)
HSV / HSBhsv(226.6, 83.1%, 48.6%)
CMYK83.1%, 64.5%, 0%, 51.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,387,644
CSS custom property--colour: #152C7C;
Brightness & contrast
Relative luminance0.03416WCAG 2.x, 0 is black and 1 is white
Perceived brightness55 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.48:1
Contrast with white12.48:1WCAG normal text: AAA
Contrast with black1.68:1WCAG normal text: Fail
Greyscale equivalent#2D2D2D
Inverted#EAD383
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.48:1WCAG large text: AAA
Contrast with black, large text1.68:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7C6515
Analogous#155F7C, #32157C
Triadic#7C152C, #2C7C15
Split complementary#7C3215, #5F7C15
Tetradic#7C155F, #7C6515, #157C32
Tints, shades & saturation
Channel breakdown
R21
G44
B124
Red21 (8.2%)
Green44 (17.3%)
Blue124 (48.6%)
Hue226.6°
Saturation (HSL)71.03%
Lightness28.43%
Dominant channelBlue
Hex per channelR 15 · G 2C · B 7C
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