#151875#151875
#151875 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.152 H 270.6°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).
Color values
| HEX | #151875 |
|---|---|
| RGB | rgb(21, 24, 117) |
| HSL | hsl(238, 70%, 27%) |
| HSV | hsv(238, 82%, 46%) |
| CMYK | cmyk(82.1%, 79.5%, 0%, 54.1%) |
| CIE-LAB | lab(15.99, 33.78, -52.61) |
| CIE-LCH | lch(15.99, 62.52, 302.71°) |
| OKLab | oklab(29.01% 0.0015 -0.1523) |
| OKLCH | oklch(29.01% 0.152 270.6) |
| XYZ | xyz(3.8457, 2.0966, 17.0282) |
| Luminance | 0.0210 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.97
Dark Royal Blue
#02066F
ΔE00 3.79
Darkblue (survey)
#030764
ΔE00 4.29
Deep Blue
#040273
ΔE00 4.38
Royal
#0C1793
ΔE00 4.48
Navy
#000080
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151875 #757215
analogous
#154875 #151875 #421575
triadic
#151875 #751518 #187515
tetradic
#151875 #751548 #757215 #157542
square
#151875 #751548 #757215 #157542
split-complementary
#151875 #754215 #487515
monochromatic
#05051A #0C0D41 #151875 #1E23A9 #2B31D9
Accessibility & contrast
On white
14.79
#151875 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#151875 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151875
14.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151875 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151875 | 1.00 | 14.79 | 1.42 | 14.79 |
| #FFFFFF | 14.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002373
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #151875; /* rgb */ color: rgb(21, 24, 117); /* oklch */ color: oklch(29.0% 0.152 270.6);
Tailwind
colors: {
custom: {
50: '#66569e',
500: '#151875',
950: '#000000',
},
}SCSS
$custom: #151875; $custom-light: #66569e; $custom-dark: #000000;
JSON
{
"hex": "#151875",
"rgb": {
"r": 21,
"g": 24,
"b": 117
},
"hsl": {
"h": 238.125,
"s": 69.565,
"l": 27.059
},
"oklch": {
"l": 0.29011,
"c": 0.15235,
"h": 270.6
},
"luminance": 0.02097
}Semantic roles & 50–950 ramp
primary
#151875
secondary
#ABA73B
accent
#E73BEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E