#152E5F#152E5F
#152E5F is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.093 H 262.1°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #152E5F |
|---|---|
| RGB | rgb(21, 46, 95) |
| HSL | hsl(220, 64%, 23%) |
| HSV | hsv(220, 78%, 37%) |
| CMYK | cmyk(77.9%, 51.6%, 0%, 62.7%) |
| CIE-LAB | lab(19.80, 9.65, -32.03) |
| CIE-LCH | lch(19.80, 33.45, 286.76°) |
| OKLab | oklab(31.18% -0.0127 -0.0919) |
| OKLCH | oklch(31.18% 0.093 262.1) |
| XYZ | xyz(3.3511, 2.9393, 11.2150) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.91
Navy Blue
#1B2A4A
ΔE00 4.45
Marine Blue
#01386A
ΔE00 4.88
Darkish Blue
#014182
ΔE00 7.81
Twilight Blue
#0A437A
ΔE00 8.04
Navy (survey)
#01153E
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152E5F #5F4615
analogous
#15535F #152E5F #21155F
triadic
#152E5F #5F152E #2E5F15
tetradic
#152E5F #5F1553 #5F4615 #155F21
square
#152E5F #5F1553 #5F4615 #155F21
split-complementary
#152E5F #5F2115 #535F15
monochromatic
#060C19 #0A162D #152E5F #204691 #2B5FC3
Accessibility & contrast
On white
13.22
#152E5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#152E5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152E5F
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152E5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152E5F | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#133361
Deuteranopia (green-blind)
#012D5E
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #152e5f; /* rgb */ color: rgb(21, 46, 95); /* oklch */ color: oklch(31.2% 0.093 262.1);
Tailwind
colors: {
custom: {
50: '#5e668d',
500: '#152e5f',
950: '#000000',
},
}SCSS
$custom: #152e5f; $custom-light: #5e668d; $custom-dark: #000000;
JSON
{
"hex": "#152e5f",
"rgb": {
"r": 21,
"g": 46,
"b": 95
},
"hsl": {
"h": 219.73,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.31184,
"c": 0.0928,
"h": 262.1
},
"luminance": 0.0294
}Semantic roles & 50–950 ramp
primary
#152E5F
secondary
#96773A
accent
#AF41E7
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D