#152970#152970
#152970 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.125 H 266.8°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #152970 |
|---|---|
| RGB | rgb(21, 41, 112) |
| HSL | hsl(227, 68%, 26%) |
| HSV | hsv(227, 81%, 44%) |
| CMYK | cmyk(81.2%, 63.4%, 0%, 56.1%) |
| CIE-LAB | lab(19.70, 20.42, -43.27) |
| CIE-LCH | lch(19.70, 47.85, 295.26°) |
| OKLab | oklab(31.55% -0.0071 -0.1251) |
| OKLCH | oklch(31.55% 0.125 266.8) |
| XYZ | xyz(4.0258, 2.9147, 15.6765) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.03
Midnight Blue
#191970
ΔE00 5.43
Marine Blue
#01386A
ΔE00 7.33
Navy Blue
#1B2A4A
ΔE00 7.72
Royal
#0C1793
ΔE00 8.22
Navy Blue (survey)
#001146
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152970 #705C15
analogous
#155670 #152970 #2E1570
triadic
#152970 #701529 #297015
tetradic
#152970 #701556 #705C15 #15702E
square
#152970 #701556 #705C15 #15702E
split-complementary
#152970 #702E15 #567015
monochromatic
#05091A #0B163C #152970 #1F3CA4 #294FD7
Accessibility & contrast
On white
13.27
#152970 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#152970 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152970
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152970 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152970 | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #152970; /* rgb */ color: rgb(21, 41, 112); /* oklch */ color: oklch(31.5% 0.125 266.8);
Tailwind
colors: {
custom: {
50: '#63629a',
500: '#152970',
950: '#000000',
},
}SCSS
$custom: #152970; $custom-light: #63629a; $custom-dark: #000000;
JSON
{
"hex": "#152970",
"rgb": {
"r": 21,
"g": 41,
"b": 112
},
"hsl": {
"h": 226.813,
"s": 68.421,
"l": 26.078
},
"oklch": {
"l": 0.31549,
"c": 0.12528,
"h": 266.8
},
"luminance": 0.02915
}Semantic roles & 50–950 ramp
primary
#152970
secondary
#A68F3B
accent
#C53DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E