#152E58#152E58
#152E58 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.082 H 260.1°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #152E58 |
|---|---|
| RGB | rgb(21, 46, 88) |
| HSL | hsl(218, 61%, 21%) |
| HSV | hsv(218, 76%, 35%) |
| CMYK | cmyk(76.1%, 47.7%, 0%, 65.5%) |
| CIE-LAB | lab(19.30, 6.69, -28.20) |
| CIE-LCH | lch(19.30, 28.98, 283.34°) |
| OKLab | oklab(30.64% -0.014 -0.0807) |
| OKLCH | oklch(30.64% 0.082 260.1) |
| XYZ | xyz(3.0471, 2.8177, 9.6139) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.15
Navy Blue
#1B2A4A
ΔE00 3.30
Marine Blue
#01386A
ΔE00 4.90
Navy (survey)
#01153E
ΔE00 8.03
Twilight Blue
#0A437A
ΔE00 8.21
Darkish Blue
#014182
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152E58 #583F15
analogous
#155058 #152E58 #1E1558
triadic
#152E58 #58152E #2E5815
tetradic
#152E58 #581550 #583F15 #15581E
square
#152E58 #581550 #583F15 #15581E
split-complementary
#152E58 #581E15 #505815
monochromatic
#060D19 #091427 #152E58 #214889 #2D62BB
Accessibility & contrast
On white
13.43
#152E58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#152E58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152E58
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152E58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152E58 | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#19325A
Deuteranopia (green-blind)
#0D2C57
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #152e58; /* rgb */ color: rgb(21, 46, 88); /* oklch */ color: oklch(30.6% 0.082 260.1);
Tailwind
colors: {
custom: {
50: '#5c6687',
500: '#152e58',
950: '#000000',
},
}SCSS
$custom: #152e58; $custom-light: #5c6687; $custom-dark: #000000;
JSON
{
"hex": "#152e58",
"rgb": {
"r": 21,
"g": 46,
"b": 88
},
"hsl": {
"h": 217.612,
"s": 61.468,
"l": 21.373
},
"oklch": {
"l": 0.30638,
"c": 0.08187,
"h": 260.1
},
"luminance": 0.02818
}Semantic roles & 50–950 ramp
primary
#152E58
secondary
#906F39
accent
#A843E5
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C