#151872#151872
#151872 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.148 H 270.8°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).
Color values
| HEX | #151872 |
|---|---|
| RGB | rgb(21, 24, 114) |
| HSL | hsl(238, 69%, 26%) |
| HSV | hsv(238, 82%, 45%) |
| CMYK | cmyk(81.6%, 78.9%, 0%, 55.3%) |
| CIE-LAB | lab(15.63, 32.70, -51.26) |
| CIE-LCH | lch(15.63, 60.80, 302.53°) |
| OKLab | oklab(28.65% 0.0021 -0.1484) |
| OKLCH | oklch(28.65% 0.148 270.8) |
| XYZ | xyz(3.6721, 2.0272, 16.1141) |
| Luminance | 0.0203 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.57
Dark Royal Blue
#02066F
ΔE00 3.82
Darkblue (survey)
#030764
ΔE00 4.11
Deep Blue
#040273
ΔE00 4.49
Royal
#0C1793
ΔE00 4.97
Navy
#000080
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151872 #726F15
analogous
#154772 #151872 #411572
triadic
#151872 #721518 #187215
tetradic
#151872 #721547 #726F15 #157241
square
#151872 #721547 #726F15 #157241
split-complementary
#151872 #724115 #477215
monochromatic
#05051A #0B0D3E #151872 #1F23A6 #2A2FD8
Accessibility & contrast
On white
14.94
#151872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#151872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151872
14.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151872 | 1.00 | 14.94 | 1.41 | 14.94 |
| #FFFFFF | 14.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #151872; /* rgb */ color: rgb(21, 24, 114); /* oklch */ color: oklch(28.7% 0.148 270.8);
Tailwind
colors: {
custom: {
50: '#65569c',
500: '#151872',
950: '#000000',
},
}SCSS
$custom: #151872; $custom-light: #65569c; $custom-dark: #000000;
JSON
{
"hex": "#151872",
"rgb": {
"r": 21,
"g": 24,
"b": 114
},
"hsl": {
"h": 238.065,
"s": 68.889,
"l": 26.471
},
"oklch": {
"l": 0.28653,
"c": 0.14844,
"h": 270.8
},
"luminance": 0.02028
}Semantic roles & 50–950 ramp
primary
#151872
secondary
#A8A53B
accent
#E63CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E