#181A78#181A78
#181A78 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.153 H 271.4°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #181A78 |
|---|---|
| RGB | rgb(24, 26, 120) |
| HSL | hsl(239, 67%, 28%) |
| HSV | hsv(239, 80%, 47%) |
| CMYK | cmyk(80%, 78.3%, 0%, 52.9%) |
| CIE-LAB | lab(16.93, 33.90, -52.96) |
| CIE-LCH | lch(16.93, 62.88, 302.62°) |
| OKLab | oklab(29.83% 0.0037 -0.1533) |
| OKLCH | oklch(29.83% 0.153 271.4) |
| XYZ | xyz(4.1351, 2.2886, 17.9895) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.29
Royal
#0C1793
ΔE00 4.12
Dark Royal Blue
#02066F
ΔE00 4.32
Deep Blue
#040273
ΔE00 4.83
Darkblue (survey)
#030764
ΔE00 4.92
Navy
#000080
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181A78 #787618
analogous
#184A78 #181A78 #461878
triadic
#181A78 #78181A #1A7818
tetradic
#181A78 #78184A #787618 #187846
square
#181A78 #78184A #787618 #187846
split-complementary
#181A78 #784618 #4A7818
monochromatic
#05061A #0E0F45 #181A78 #2225AB #3437D6
Accessibility & contrast
On white
14.41
#181A78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#181A78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181A78
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181A78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181A78 | 1.00 | 14.41 | 1.46 | 14.41 |
| #FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002576
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #181a78; /* rgb */ color: rgb(24, 26, 120); /* oklch */ color: oklch(29.8% 0.153 271.4);
Tailwind
colors: {
custom: {
50: '#6858a0',
500: '#181a78',
950: '#000000',
},
}SCSS
$custom: #181a78; $custom-light: #6858a0; $custom-dark: #000000;
JSON
{
"hex": "#181a78",
"rgb": {
"r": 24,
"g": 26,
"b": 120
},
"hsl": {
"h": 238.75,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.29832,
"c": 0.15338,
"h": 271.4
},
"luminance": 0.02289
}Semantic roles & 50–950 ramp
primary
#181A78
secondary
#ADAB3F
accent
#E63EEA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F