#152E54#152E54
#152E54 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.3% C 0.076 H 258.6°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #152E54 |
|---|---|
| RGB | rgb(21, 46, 84) |
| HSL | hsl(216, 60%, 21%) |
| HSV | hsv(216, 75%, 33%) |
| CMYK | cmyk(75%, 45.2%, 0%, 67.1%) |
| CIE-LAB | lab(19.03, 5.01, -25.97) |
| CIE-LCH | lch(19.03, 26.44, 280.91°) |
| OKLab | oklab(30.34% -0.0149 -0.0741) |
| OKLCH | oklch(30.34% 0.076 258.6) |
| XYZ | xyz(2.8859, 2.7532, 8.7651) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.63
Navy Blue
#1B2A4A
ΔE00 2.80
Marine Blue
#01386A
ΔE00 5.02
Navy (survey)
#01153E
ΔE00 8.10
Twilight Blue
#0A437A
ΔE00 8.35
Darkish Blue
#014182
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152E54 #543B15
analogous
#154D54 #152E54 #1B1554
triadic
#152E54 #54152E #2E5415
tetradic
#152E54 #54154D #543B15 #15541B
square
#152E54 #54154D #543B15 #15541B
split-complementary
#152E54 #541B15 #4D5415
monochromatic
#060D18 #091323 #152E54 #214985 #2D64B6
Accessibility & contrast
On white
13.54
#152E54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#152E54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152E54
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152E54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152E54 | 1.00 | 13.54 | 1.55 | 13.54 |
| #FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3155
Deuteranopia (green-blind)
#122C53
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #152e54; /* rgb */ color: rgb(21, 46, 84); /* oklch */ color: oklch(30.3% 0.076 258.6);
Tailwind
colors: {
custom: {
50: '#5b6684',
500: '#152e54',
950: '#000000',
},
}SCSS
$custom: #152e54; $custom-light: #5b6684; $custom-dark: #000000;
JSON
{
"hex": "#152e54",
"rgb": {
"r": 21,
"g": 46,
"b": 84
},
"hsl": {
"h": 216.19,
"s": 60,
"l": 20.588
},
"oklch": {
"l": 0.3034,
"c": 0.07559,
"h": 258.6
},
"luminance": 0.02754
}Semantic roles & 50–950 ramp
primary
#152E54
secondary
#8C6B39
accent
#A445E3
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C