#152F74#152F74
#152F74 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.2% C 0.123 H 264.8°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #152F74 |
|---|---|
| RGB | rgb(21, 47, 116) |
| HSL | hsl(224, 69%, 27%) |
| HSV | hsv(224, 82%, 45%) |
| CMYK | cmyk(81.9%, 59.5%, 0%, 54.5%) |
| CIE-LAB | lab(21.77, 17.76, -42.46) |
| CIE-LCH | lch(21.77, 46.03, 292.69°) |
| OKLab | oklab(33.21% -0.0113 -0.1226) |
| OKLCH | oklch(33.21% 0.123 264.8) |
| XYZ | xyz(4.4770, 3.4529, 16.9501) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.12
Marine Blue
#01386A
ΔE00 5.62
Darkish Blue
#014182
ΔE00 7.01
Midnight Blue
#191970
ΔE00 7.35
Navy Blue
#1B2A4A
ΔE00 7.74
Twilight Blue
#0A437A
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152F74 #745A15
analogous
#155F74 #152F74 #2B1574
triadic
#152F74 #74152F #2F7415
tetradic
#152F74 #74155F #745A15 #15742B
square
#152F74 #74155F #745A15 #15742B
split-complementary
#152F74 #742B15 #5F7415
monochromatic
#050A1A #0C1A40 #152F74 #1E44A8 #2B5AD9
Accessibility & contrast
On white
12.42
#152F74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#152F74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152F74
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152F74 | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #152f74; /* rgb */ color: rgb(21, 47, 116); /* oklch */ color: oklch(33.2% 0.123 264.8);
Tailwind
colors: {
custom: {
50: '#63679d',
500: '#152f74',
950: '#000000',
},
}SCSS
$custom: #152f74; $custom-light: #63679d; $custom-dark: #000000;
JSON
{
"hex": "#152f74",
"rgb": {
"r": 21,
"g": 47,
"b": 116
},
"hsl": {
"h": 223.579,
"s": 69.343,
"l": 26.863
},
"oklch": {
"l": 0.33211,
"c": 0.12312,
"h": 264.8
},
"luminance": 0.03453
}Semantic roles & 50–950 ramp
primary
#152F74
secondary
#AA8C3B
accent
#BC3CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E