#152872#152872
#152872 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.129 H 267.2°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #152872 |
|---|---|
| RGB | rgb(21, 40, 114) |
| HSL | hsl(228, 69%, 26%) |
| HSV | hsv(228, 82%, 45%) |
| CMYK | cmyk(81.6%, 64.9%, 0%, 55.3%) |
| CIE-LAB | lab(19.60, 21.95, -44.72) |
| CIE-LCH | lch(19.60, 49.82, 296.15°) |
| OKLab | oklab(31.54% -0.0064 -0.1293) |
| OKLCH | oklch(31.54% 0.129 267.2) |
| XYZ | xyz(4.1043, 2.8915, 16.2581) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.92
Marine
#042E60
ΔE00 5.57
Royal
#0C1793
ΔE00 7.64
Marine Blue
#01386A
ΔE00 7.79
Navy Blue
#1B2A4A
ΔE00 8.17
Navy Blue (survey)
#001146
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152872 #725F15
analogous
#155772 #152872 #311572
triadic
#152872 #721528 #287215
tetradic
#152872 #721557 #725F15 #157231
square
#152872 #721557 #725F15 #157231
split-complementary
#152872 #723115 #577215
monochromatic
#05091A #0B163E #152872 #1F3AA6 #2A4DD8
Accessibility & contrast
On white
13.30
#152872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#152872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152872
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152872 | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #152872; /* rgb */ color: rgb(21, 40, 114); /* oklch */ color: oklch(31.5% 0.129 267.2);
Tailwind
colors: {
custom: {
50: '#64619b',
500: '#152872',
950: '#000000',
},
}SCSS
$custom: #152872; $custom-light: #64619b; $custom-dark: #000000;
JSON
{
"hex": "#152872",
"rgb": {
"r": 21,
"g": 40,
"b": 114
},
"hsl": {
"h": 227.742,
"s": 68.889,
"l": 26.471
},
"oklch": {
"l": 0.31536,
"c": 0.12949,
"h": 267.2
},
"luminance": 0.02892
}Semantic roles & 50–950 ramp
primary
#152872
secondary
#A8923B
accent
#C83CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E