#151772#151772
#151772 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.149 H 271.0°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).
Color values
| HEX | #151772 |
|---|---|
| RGB | rgb(21, 23, 114) |
| HSL | hsl(239, 69%, 26%) |
| HSV | hsv(239, 82%, 45%) |
| CMYK | cmyk(81.6%, 79.8%, 0%, 55.3%) |
| CIE-LAB | lab(15.42, 33.30, -51.61) |
| CIE-LCH | lch(15.42, 61.42, 302.83°) |
| OKLab | oklab(28.5% 0.0025 -0.1494) |
| OKLCH | oklch(28.5% 0.149 271) |
| XYZ | xyz(3.6519, 1.9867, 16.1073) |
| Luminance | 0.0199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.72
Dark Royal Blue
#02066F
ΔE00 3.57
Darkblue (survey)
#030764
ΔE00 3.90
Deep Blue
#040273
ΔE00 4.23
Navy
#000080
ΔE00 4.88
Royal
#0C1793
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151772 #727015
analogous
#154672 #151772 #421572
triadic
#151772 #721517 #177215
tetradic
#151772 #721546 #727015 #157242
square
#151772 #721546 #727015 #157242
split-complementary
#151772 #724215 #467215
monochromatic
#05051A #0B0D3E #151772 #1F21A6 #2A2DD8
Accessibility & contrast
On white
15.03
#151772 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#151772 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151772
15.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151772 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151772 | 1.00 | 15.03 | 1.40 | 15.03 |
| #FFFFFF | 15.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #151772; /* rgb */ color: rgb(21, 23, 114); /* oklch */ color: oklch(28.5% 0.149 271.0);
Tailwind
colors: {
custom: {
50: '#65559c',
500: '#151772',
950: '#000000',
},
}SCSS
$custom: #151772; $custom-light: #65559c; $custom-dark: #000000;
JSON
{
"hex": "#151772",
"rgb": {
"r": 21,
"g": 23,
"b": 114
},
"hsl": {
"h": 238.71,
"s": 68.889,
"l": 26.471
},
"oklch": {
"l": 0.28503,
"c": 0.14946,
"h": 271
},
"luminance": 0.01987
}Semantic roles & 50–950 ramp
primary
#151772
secondary
#A8A63B
accent
#E83CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E