#152875#152875
#152875 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.8% C 0.134 H 267.2°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #152875 |
|---|---|
| RGB | rgb(21, 40, 117) |
| HSL | hsl(228, 70%, 27%) |
| HSV | hsv(228, 82%, 46%) |
| CMYK | cmyk(82.1%, 65.8%, 0%, 54.1%) |
| CIE-LAB | lab(19.89, 23.17, -46.18) |
| CIE-LCH | lch(19.89, 51.67, 296.64°) |
| OKLab | oklab(31.83% -0.0064 -0.1336) |
| OKLCH | oklch(31.83% 0.134 267.2) |
| XYZ | xyz(4.2778, 2.9609, 17.1722) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.75
Marine
#042E60
ΔE00 5.95
Royal
#0C1793
ΔE00 7.17
Marine Blue
#01386A
ΔE00 7.99
Dark Royal Blue
#02066F
ΔE00 8.61
Navy Blue
#1B2A4A
ΔE00 8.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152875 #756215
analogous
#155875 #152875 #321575
triadic
#152875 #751528 #287515
tetradic
#152875 #751558 #756215 #157532
square
#152875 #751558 #756215 #157532
split-complementary
#152875 #753215 #587515
monochromatic
#05091A #0C1641 #152875 #1E3AA9 #2B4ED9
Accessibility & contrast
On white
13.19
#152875 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#152875 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152875
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152875 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152875 | 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)
#003577
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #152875; /* rgb */ color: rgb(21, 40, 117); /* oklch */ color: oklch(31.8% 0.134 267.2);
Tailwind
colors: {
custom: {
50: '#64619e',
500: '#152875',
950: '#000000',
},
}SCSS
$custom: #152875; $custom-light: #64619e; $custom-dark: #000000;
JSON
{
"hex": "#152875",
"rgb": {
"r": 21,
"g": 40,
"b": 117
},
"hsl": {
"h": 228.125,
"s": 69.565,
"l": 27.059
},
"oklch": {
"l": 0.31832,
"c": 0.13378,
"h": 267.2
},
"luminance": 0.02961
}Semantic roles & 50–950 ramp
primary
#152875
secondary
#AB953B
accent
#C93BEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E