#152B4F#152B4F
#152B4F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.2% C 0.072 H 259.8°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).
Color values
| HEX | #152B4F |
|---|---|
| RGB | rgb(21, 43, 79) |
| HSL | hsl(217, 58%, 20%) |
| HSV | hsv(217, 73%, 31%) |
| CMYK | cmyk(73.4%, 45.6%, 0%, 69%) |
| CIE-LAB | lab(17.70, 5.10, -24.72) |
| CIE-LCH | lch(17.70, 25.24, 281.64°) |
| OKLab | oklab(29.2% -0.0127 -0.0705) |
| OKLCH | oklch(29.2% 0.072 259.8) |
| XYZ | xyz(2.5839, 2.4514, 7.7326) |
| Luminance | 0.0245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.80
Marine
#042E60
ΔE00 3.53
Marine Blue
#01386A
ΔE00 6.20
Navy (survey)
#01153E
ΔE00 7.14
Navy Blue (survey)
#001146
ΔE00 8.84
Dark
#1B2431
ΔE00 9.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152B4F #4F3915
analogous
#15484F #152B4F #1C154F
triadic
#152B4F #4F152B #2B4F15
tetradic
#152B4F #4F1548 #4F3915 #154F1C
square
#152B4F #4F1548 #4F3915 #154F1C
split-complementary
#152B4F #4F1C15 #484F15
monochromatic
#060D18 #08111F #152B4F #22457F #2F60B0
Accessibility & contrast
On white
14.09
#152B4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#152B4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152B4F
14.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152B4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152B4F | 1.00 | 14.09 | 1.49 | 14.09 |
| #FFFFFF | 14.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A2E50
Deuteranopia (green-blind)
#11294E
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #152b4f; /* rgb */ color: rgb(21, 43, 79); /* oklch */ color: oklch(29.2% 0.072 259.8);
Tailwind
colors: {
custom: {
50: '#5a6380',
500: '#152b4f',
950: '#000000',
},
}SCSS
$custom: #152b4f; $custom-light: #5a6380; $custom-dark: #000000;
JSON
{
"hex": "#152b4f",
"rgb": {
"r": 21,
"g": 43,
"b": 79
},
"hsl": {
"h": 217.241,
"s": 58,
"l": 19.608
},
"oklch": {
"l": 0.29203,
"c": 0.07165,
"h": 259.8
},
"luminance": 0.02452
}Semantic roles & 50–950 ramp
primary
#152B4F
secondary
#876939
accent
#A747E1
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C