#152F5F#152F5F
#152F5F is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.091 H 261.4°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #152F5F |
|---|---|
| RGB | rgb(21, 47, 95) |
| HSL | hsl(219, 64%, 23%) |
| HSV | hsv(219, 78%, 37%) |
| CMYK | cmyk(77.9%, 50.5%, 0%, 62.7%) |
| CIE-LAB | lab(20.12, 8.92, -31.52) |
| CIE-LCH | lch(20.12, 32.75, 285.80°) |
| OKLab | oklab(31.43% -0.0137 -0.0904) |
| OKLCH | oklch(31.43% 0.091 261.4) |
| XYZ | xyz(3.3906, 3.0183, 11.2282) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.72
Navy Blue
#1B2A4A
ΔE00 4.45
Marine Blue
#01386A
ΔE00 4.52
Darkish Blue
#014182
ΔE00 7.51
Twilight Blue
#0A437A
ΔE00 7.70
Navy (survey)
#01153E
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152F5F #5F4515
analogous
#15545F #152F5F #20155F
triadic
#152F5F #5F152F #2F5F15
tetradic
#152F5F #5F1554 #5F4515 #155F20
square
#152F5F #5F1554 #5F4515 #155F20
split-complementary
#152F5F #5F2015 #545F15
monochromatic
#060C19 #0A162D #152F5F #204891 #2B61C3
Accessibility & contrast
On white
13.09
#152F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#152F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152F5F
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152F5F | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#153461
Deuteranopia (green-blind)
#042D5E
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #152f5f; /* rgb */ color: rgb(21, 47, 95); /* oklch */ color: oklch(31.4% 0.091 261.4);
Tailwind
colors: {
custom: {
50: '#5e678d',
500: '#152f5f',
950: '#000000',
},
}SCSS
$custom: #152f5f; $custom-light: #5e678d; $custom-dark: #000000;
JSON
{
"hex": "#152f5f",
"rgb": {
"r": 21,
"g": 47,
"b": 95
},
"hsl": {
"h": 218.919,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.31428,
"c": 0.09143,
"h": 261.4
},
"luminance": 0.03019
}Semantic roles & 50–950 ramp
primary
#152F5F
secondary
#96763A
accent
#AD41E7
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D