#152F55#152F55
#152F55 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.076 H 258.0°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #152F55 |
|---|---|
| RGB | rgb(21, 47, 85) |
| HSL | hsl(216, 60%, 21%) |
| HSV | hsv(216, 75%, 33%) |
| CMYK | cmyk(75.3%, 44.7%, 0%, 66.7%) |
| CIE-LAB | lab(19.42, 4.70, -26.00) |
| CIE-LCH | lch(19.42, 26.42, 280.26°) |
| OKLab | oklab(30.67% -0.0158 -0.0742) |
| OKLCH | oklch(30.67% 0.076 258) |
| XYZ | xyz(2.9649, 2.8480, 8.9860) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.50
Navy Blue
#1B2A4A
ΔE00 3.11
Marine Blue
#01386A
ΔE00 4.67
Twilight Blue
#0A437A
ΔE00 7.98
Darkish Blue
#014182
ΔE00 8.13
Navy (survey)
#01153E
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152F55 #553B15
analogous
#154F55 #152F55 #1B1555
triadic
#152F55 #55152F #2F5515
tetradic
#152F55 #55154F #553B15 #15551B
square
#152F55 #55154F #553B15 #15551B
split-complementary
#152F55 #551B15 #4F5515
monochromatic
#060E19 #091424 #152F55 #214A86 #2D65B7
Accessibility & contrast
On white
13.38
#152F55 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#152F55 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152F55
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152F55 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152F55 | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3256
Deuteranopia (green-blind)
#132C54
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #152f55; /* rgb */ color: rgb(21, 47, 85); /* oklch */ color: oklch(30.7% 0.076 258.0);
Tailwind
colors: {
custom: {
50: '#5b6785',
500: '#152f55',
950: '#000000',
},
}SCSS
$custom: #152f55; $custom-light: #5b6785; $custom-dark: #000000;
JSON
{
"hex": "#152f55",
"rgb": {
"r": 21,
"g": 47,
"b": 85
},
"hsl": {
"h": 215.625,
"s": 60.377,
"l": 20.784
},
"oklch": {
"l": 0.3067,
"c": 0.07584,
"h": 258
},
"luminance": 0.02848
}Semantic roles & 50–950 ramp
primary
#152F55
secondary
#8D6B39
accent
#A344E4
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C