#181572#181572
#181572 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.151 H 272.7°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).
Color values
| HEX | #181572 |
|---|---|
| RGB | rgb(24, 21, 114) |
| HSL | hsl(242, 69%, 26%) |
| HSV | hsv(242, 82%, 45%) |
| CMYK | cmyk(78.9%, 81.6%, 0%, 55.3%) |
| CIE-LAB | lab(15.20, 34.70, -51.97) |
| CIE-LCH | lch(15.20, 62.49, 303.73°) |
| OKLab | oklab(28.4% 0.007 -0.1504) |
| OKLCH | oklch(28.4% 0.151 272.7) |
| XYZ | xyz(3.6811, 1.9450, 16.0978) |
| Luminance | 0.0194 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.16
Dark Royal Blue
#02066F
ΔE00 3.14
Darkblue (survey)
#030764
ΔE00 3.58
Deep Blue
#040273
ΔE00 3.75
Navy
#000080
ΔE00 4.44
Royal
#0C1793
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181572 #6F7215
analogous
#154172 #181572 #471572
triadic
#181572 #721815 #157218
tetradic
#181572 #721541 #6F7215 #157247
square
#181572 #721541 #6F7215 #157247
split-complementary
#181572 #724715 #417215
monochromatic
#05051A #0D0B3E #181572 #231FA6 #2F2AD8
Accessibility & contrast
On white
15.12
#181572 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#181572 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181572
15.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181572 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181572 | 1.00 | 15.12 | 1.39 | 15.12 |
| #FFFFFF | 15.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002170
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #181572; /* rgb */ color: rgb(24, 21, 114); /* oklch */ color: oklch(28.4% 0.151 272.7);
Tailwind
colors: {
custom: {
50: '#66549c',
500: '#181572',
950: '#000000',
},
}SCSS
$custom: #181572; $custom-light: #66549c; $custom-dark: #000000;
JSON
{
"hex": "#181572",
"rgb": {
"r": 24,
"g": 21,
"b": 114
},
"hsl": {
"h": 241.935,
"s": 68.889,
"l": 26.471
},
"oklch": {
"l": 0.28397,
"c": 0.15055,
"h": 272.7
},
"luminance": 0.01945
}Semantic roles & 50–950 ramp
primary
#181572
secondary
#A5A83B
accent
#EC3CE6
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E