#152E52#152E52
#152E52 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.072 H 257.7°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #152E52 |
|---|---|
| RGB | rgb(21, 46, 82) |
| HSL | hsl(215, 59%, 20%) |
| HSV | hsv(215, 74%, 32%) |
| CMYK | cmyk(74.4%, 43.9%, 0%, 67.8%) |
| CIE-LAB | lab(18.90, 4.17, -24.84) |
| CIE-LCH | lch(18.90, 25.18, 279.53°) |
| OKLab | oklab(30.2% -0.0154 -0.0708) |
| OKLCH | oklch(30.2% 0.072 257.7) |
| XYZ | xyz(2.8087, 2.7223, 8.3584) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.69
Marine
#042E60
ΔE00 2.94
Marine Blue
#01386A
ΔE00 5.12
Navy (survey)
#01153E
ΔE00 8.21
Twilight Blue
#0A437A
ΔE00 8.43
Darkish Blue
#014182
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152E52 #523915
analogous
#154C52 #152E52 #1B1552
triadic
#152E52 #52152E #2E5215
tetradic
#152E52 #52154C #523915 #15521B
square
#152E52 #52154C #523915 #15521B
split-complementary
#152E52 #521B15 #4C5215
monochromatic
#060E18 #091321 #152E52 #214983 #2E65B3
Accessibility & contrast
On white
13.60
#152E52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#152E52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152E52
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152E52 | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3153
Deuteranopia (green-blind)
#142B51
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #152e52; /* rgb */ color: rgb(21, 46, 82); /* oklch */ color: oklch(30.2% 0.072 257.7);
Tailwind
colors: {
custom: {
50: '#5b6683',
500: '#152e52',
950: '#000000',
},
}SCSS
$custom: #152e52; $custom-light: #5b6683; $custom-dark: #000000;
JSON
{
"hex": "#152e52",
"rgb": {
"r": 21,
"g": 46,
"b": 82
},
"hsl": {
"h": 215.41,
"s": 59.223,
"l": 20.196
},
"oklch": {
"l": 0.30196,
"c": 0.07244,
"h": 257.7
},
"luminance": 0.02723
}Semantic roles & 50–950 ramp
primary
#152E52
secondary
#8A6939
accent
#A245E2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C