#152F56#152F56
#152F56 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.7% C 0.077 H 258.4°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).
Color values
| HEX | #152F56 |
|---|---|
| RGB | rgb(21, 47, 86) |
| HSL | hsl(216, 61%, 21%) |
| HSV | hsv(216, 76%, 34%) |
| CMYK | cmyk(75.6%, 45.3%, 0%, 66.3%) |
| CIE-LAB | lab(19.49, 5.12, -26.56) |
| CIE-LCH | lch(19.49, 27.05, 280.92°) |
| OKLab | oklab(30.74% -0.0155 -0.0758) |
| OKLCH | oklch(30.74% 0.077 258.4) |
| XYZ | xyz(3.0049, 2.8640, 9.1967) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.35
Navy Blue
#1B2A4A
ΔE00 3.18
Marine Blue
#01386A
ΔE00 4.63
Twilight Blue
#0A437A
ΔE00 7.94
Darkish Blue
#014182
ΔE00 8.06
Navy (survey)
#01153E
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152F56 #563C15
analogous
#154F56 #152F56 #1B1556
triadic
#152F56 #56152F #2F5615
tetradic
#152F56 #56154F #563C15 #15561B
square
#152F56 #56154F #563C15 #15561B
split-complementary
#152F56 #561B15 #4F5615
monochromatic
#060D19 #091425 #152F56 #214A87 #2D65B8
Accessibility & contrast
On white
13.35
#152F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#152F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152F56
13.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152F56 | 1.00 | 13.35 | 1.57 | 13.35 |
| #FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3258
Deuteranopia (green-blind)
#122C55
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #152f56; /* rgb */ color: rgb(21, 47, 86); /* oklch */ color: oklch(30.7% 0.077 258.4);
Tailwind
colors: {
custom: {
50: '#5c6786',
500: '#152f56',
950: '#000000',
},
}SCSS
$custom: #152f56; $custom-light: #5c6786; $custom-dark: #000000;
JSON
{
"hex": "#152f56",
"rgb": {
"r": 21,
"g": 47,
"b": 86
},
"hsl": {
"h": 216,
"s": 60.748,
"l": 20.98
},
"oklch": {
"l": 0.30743,
"c": 0.07741,
"h": 258.4
},
"luminance": 0.02864
}Semantic roles & 50–950 ramp
primary
#152F56
secondary
#8E6C39
accent
#A444E4
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C