#152972#152972
#152972 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.7% C 0.128 H 266.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #152972 |
|---|---|
| RGB | rgb(21, 41, 114) |
| HSL | hsl(227, 69%, 26%) |
| HSV | hsv(227, 82%, 45%) |
| CMYK | cmyk(81.6%, 64%, 0%, 55.3%) |
| CIE-LAB | lab(19.88, 21.24, -44.26) |
| CIE-LCH | lch(19.88, 49.10, 295.63°) |
| OKLab | oklab(31.74% -0.0071 -0.128) |
| OKLCH | oklch(31.74% 0.128 266.8) |
| XYZ | xyz(4.1384, 2.9597, 16.2695) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.28
Marine
#042E60
ΔE00 5.29
Marine Blue
#01386A
ΔE00 7.46
Royal
#0C1793
ΔE00 7.90
Navy Blue
#1B2A4A
ΔE00 8.03
Navy Blue (survey)
#001146
ΔE00 8.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152972 #725E15
analogous
#155872 #152972 #301572
triadic
#152972 #721529 #297215
tetradic
#152972 #721558 #725E15 #157230
square
#152972 #721558 #725E15 #157230
split-complementary
#152972 #723015 #587215
monochromatic
#05091A #0B163E #152972 #1F3CA6 #2A4FD8
Accessibility & contrast
On white
13.19
#152972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#152972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152972
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152972 | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #152972; /* rgb */ color: rgb(21, 41, 114); /* oklch */ color: oklch(31.7% 0.128 266.8);
Tailwind
colors: {
custom: {
50: '#63629b',
500: '#152972',
950: '#000000',
},
}SCSS
$custom: #152972; $custom-light: #63629b; $custom-dark: #000000;
JSON
{
"hex": "#152972",
"rgb": {
"r": 21,
"g": 41,
"b": 114
},
"hsl": {
"h": 227.097,
"s": 68.889,
"l": 26.471
},
"oklch": {
"l": 0.31742,
"c": 0.12818,
"h": 266.8
},
"luminance": 0.0296
}Semantic roles & 50–950 ramp
primary
#152972
secondary
#A8913B
accent
#C63CEC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E