#181A79#181A79
#181A79 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.155 H 271.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #181A79 |
|---|---|
| RGB | rgb(24, 26, 121) |
| HSL | hsl(239, 67%, 28%) |
| HSV | hsv(239, 80%, 47%) |
| CMYK | cmyk(80.2%, 78.5%, 0%, 52.5%) |
| CIE-LAB | lab(17.05, 34.25, -53.41) |
| CIE-LCH | lch(17.05, 63.45, 302.67°) |
| OKLab | oklab(29.95% 0.0035 -0.1546) |
| OKLCH | oklch(29.95% 0.155 271.3) |
| XYZ | xyz(4.1961, 2.3130, 18.3108) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.45
Royal
#0C1793
ΔE00 3.96
Dark Royal Blue
#02066F
ΔE00 4.34
Deep Blue
#040273
ΔE00 4.82
Darkblue (survey)
#030764
ΔE00 4.99
Navy
#000080
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181A79 #797718
analogous
#184A79 #181A79 #461879
triadic
#181A79 #79181A #1A7918
tetradic
#181A79 #79184A #797718 #187946
square
#181A79 #79184A #797718 #187946
split-complementary
#181A79 #794618 #4A7918
monochromatic
#05051A #0E0F46 #181A79 #2225AC #3538D7
Accessibility & contrast
On white
14.36
#181A79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#181A79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181A79
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181A79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181A79 | 1.00 | 14.36 | 1.46 | 14.36 |
| #FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #181a79; /* rgb */ color: rgb(24, 26, 121); /* oklch */ color: oklch(29.9% 0.155 271.3);
Tailwind
colors: {
custom: {
50: '#6858a1',
500: '#181a79',
950: '#000000',
},
}SCSS
$custom: #181a79; $custom-light: #6858a1; $custom-dark: #000000;
JSON
{
"hex": "#181a79",
"rgb": {
"r": 24,
"g": 26,
"b": 121
},
"hsl": {
"h": 238.763,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.29949,
"c": 0.15468,
"h": 271.3
},
"luminance": 0.02313
}Semantic roles & 50–950 ramp
primary
#181A79
secondary
#AEAC3F
accent
#E63EEA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F