#151874#151874
#151874 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.151 H 270.7°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).
Color values
| HEX | #151874 |
|---|---|
| RGB | rgb(21, 24, 116) |
| HSL | hsl(238, 69%, 27%) |
| HSV | hsv(238, 82%, 45%) |
| CMYK | cmyk(81.9%, 79.3%, 0%, 54.5%) |
| CIE-LAB | lab(15.87, 33.42, -52.16) |
| CIE-LCH | lch(15.87, 61.95, 302.65°) |
| OKLab | oklab(28.89% 0.0017 -0.151) |
| OKLCH | oklch(28.89% 0.151 270.7) |
| XYZ | xyz(3.7872, 2.0732, 16.7202) |
| Luminance | 0.0207 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.82
Dark Royal Blue
#02066F
ΔE00 3.79
Darkblue (survey)
#030764
ΔE00 4.23
Deep Blue
#040273
ΔE00 4.41
Royal
#0C1793
ΔE00 4.64
Navy
#000080
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151874 #747115
analogous
#154874 #151874 #421574
triadic
#151874 #741518 #187415
tetradic
#151874 #741548 #747115 #157442
square
#151874 #741548 #747115 #157442
split-complementary
#151874 #744215 #487415
monochromatic
#05051A #0C0D40 #151874 #1E23A8 #2B30D9
Accessibility & contrast
On white
14.84
#151874 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#151874 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151874
14.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151874 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151874 | 1.00 | 14.84 | 1.41 | 14.84 |
| #FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002372
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #151874; /* rgb */ color: rgb(21, 24, 116); /* oklch */ color: oklch(28.9% 0.151 270.7);
Tailwind
colors: {
custom: {
50: '#66569d',
500: '#151874',
950: '#000000',
},
}SCSS
$custom: #151874; $custom-light: #66569d; $custom-dark: #000000;
JSON
{
"hex": "#151874",
"rgb": {
"r": 21,
"g": 24,
"b": 116
},
"hsl": {
"h": 238.105,
"s": 69.343,
"l": 26.863
},
"oklch": {
"l": 0.28891,
"c": 0.15105,
"h": 270.7
},
"luminance": 0.02074
}Semantic roles & 50–950 ramp
primary
#151874
secondary
#AAA63B
accent
#E73CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E