#181578#181578
#181578 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.158 H 272.0°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).
Color values
| HEX | #181578 |
|---|---|
| RGB | rgb(24, 21, 120) |
| HSL | hsl(242, 70%, 28%) |
| HSV | hsv(242, 83%, 47%) |
| CMYK | cmyk(80%, 82.5%, 0%, 52.9%) |
| CIE-LAB | lab(15.93, 36.77, -54.62) |
| CIE-LCH | lch(15.93, 65.84, 303.95°) |
| OKLab | oklab(29.13% 0.0056 -0.1581) |
| OKLCH | oklch(29.13% 0.158 272) |
| XYZ | xyz(4.0339, 2.0861, 17.9557) |
| Luminance | 0.0209 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.82
Dark Royal Blue
#02066F
ΔE00 3.26
Deep Blue
#040273
ΔE00 3.66
Navy
#000080
ΔE00 3.93
Royal
#0C1793
ΔE00 3.96
Darkblue (survey)
#030764
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181578 #757815
analogous
#154478 #181578 #491578
triadic
#181578 #781815 #157818
tetradic
#181578 #781544 #757815 #157849
square
#181578 #781544 #757815 #157849
split-complementary
#181578 #784915 #447815
monochromatic
#05051A #0E0C44 #181578 #221EAC #322DDA
Accessibility & contrast
On white
14.82
#181578 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#181578 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181578
14.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181578 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181578 | 1.00 | 14.82 | 1.42 | 14.82 |
| #FFFFFF | 14.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C7B
Deuteranopia (green-blind)
#002376
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #181578; /* rgb */ color: rgb(24, 21, 120); /* oklch */ color: oklch(29.1% 0.158 272.0);
Tailwind
colors: {
custom: {
50: '#6855a0',
500: '#181578',
950: '#000000',
},
}SCSS
$custom: #181578; $custom-light: #6855a0; $custom-dark: #000000;
JSON
{
"hex": "#181578",
"rgb": {
"r": 24,
"g": 21,
"b": 120
},
"hsl": {
"h": 241.818,
"s": 70.213,
"l": 27.647
},
"oklch": {
"l": 0.29128,
"c": 0.15818,
"h": 272
},
"luminance": 0.02087
}Semantic roles & 50–950 ramp
primary
#181578
secondary
#AAAE3B
accent
#ED3BE8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F