#152F57#152F57
#152F57 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.079 H 258.8°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #152F57 |
|---|---|
| RGB | rgb(21, 47, 87) |
| HSL | hsl(216, 61%, 21%) |
| HSV | hsv(216, 76%, 34%) |
| CMYK | cmyk(75.9%, 46%, 0%, 65.9%) |
| CIE-LAB | lab(19.56, 5.54, -27.12) |
| CIE-LCH | lch(19.56, 27.68, 281.55°) |
| OKLab | oklab(30.82% -0.0153 -0.0775) |
| OKLCH | oklch(30.82% 0.079 258.8) |
| XYZ | xyz(3.0455, 2.8803, 9.4104) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.22
Navy Blue
#1B2A4A
ΔE00 3.28
Marine Blue
#01386A
ΔE00 4.59
Twilight Blue
#0A437A
ΔE00 7.90
Darkish Blue
#014182
ΔE00 7.99
Navy (survey)
#01153E
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152F57 #573D15
analogous
#155057 #152F57 #1C1557
triadic
#152F57 #57152F #2F5715
tetradic
#152F57 #571550 #573D15 #15571C
square
#152F57 #571550 #573D15 #15571C
split-complementary
#152F57 #571C15 #505715
monochromatic
#060D19 #091426 #152F57 #214A88 #2D64BA
Accessibility & contrast
On white
13.32
#152F57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#152F57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152F57
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152F57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152F57 | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3359
Deuteranopia (green-blind)
#112D56
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #152f57; /* rgb */ color: rgb(21, 47, 87); /* oklch */ color: oklch(30.8% 0.079 258.8);
Tailwind
colors: {
custom: {
50: '#5c6787',
500: '#152f57',
950: '#000000',
},
}SCSS
$custom: #152f57; $custom-light: #5c6787; $custom-dark: #000000;
JSON
{
"hex": "#152f57",
"rgb": {
"r": 21,
"g": 47,
"b": 87
},
"hsl": {
"h": 216.364,
"s": 61.111,
"l": 21.176
},
"oklch": {
"l": 0.30816,
"c": 0.07897,
"h": 258.8
},
"luminance": 0.02881
}Semantic roles & 50–950 ramp
primary
#152F57
secondary
#8F6D39
accent
#A544E4
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C