#181A71#181A71
#181A71 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.144 H 272.0°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).
Color values
| HEX | #181A71 |
|---|---|
| RGB | rgb(24, 26, 113) |
| HSL | hsl(239, 65%, 27%) |
| HSV | hsv(239, 79%, 44%) |
| CMYK | cmyk(78.8%, 77%, 0%, 55.7%) |
| CIE-LAB | lab(16.13, 31.36, -49.78) |
| CIE-LCH | lch(16.13, 58.83, 302.21°) |
| OKLab | oklab(29.02% 0.005 -0.1441) |
| OKLCH | oklch(29.02% 0.144 272) |
| XYZ | xyz(3.7257, 2.1248, 15.8334) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.33
Dark Royal Blue
#02066F
ΔE00 4.38
Darkblue (survey)
#030764
ΔE00 4.54
Deep Blue
#040273
ΔE00 5.06
Royal
#0C1793
ΔE00 5.27
Navy
#000080
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181A71 #716F18
analogous
#184771 #181A71 #431871
triadic
#181A71 #71181A #1A7118
tetradic
#181A71 #711847 #716F18 #187143
square
#181A71 #711847 #716F18 #187143
split-complementary
#181A71 #714318 #477118
monochromatic
#050619 #0D0E3F #181A71 #2326A3 #3034D3
Accessibility & contrast
On white
14.74
#181A71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#181A71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181A71
14.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181A71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181A71 | 1.00 | 14.74 | 1.43 | 14.74 |
| #FFFFFF | 14.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #181a71; /* rgb */ color: rgb(24, 26, 113); /* oklch */ color: oklch(29.0% 0.144 272.0);
Tailwind
colors: {
custom: {
50: '#66579b',
500: '#181a71',
950: '#000000',
},
}SCSS
$custom: #181a71; $custom-light: #66579b; $custom-dark: #000000;
JSON
{
"hex": "#181a71",
"rgb": {
"r": 24,
"g": 26,
"b": 113
},
"hsl": {
"h": 238.652,
"s": 64.964,
"l": 26.863
},
"oklch": {
"l": 0.29022,
"c": 0.14417,
"h": 272
},
"luminance": 0.02125
}Semantic roles & 50–950 ramp
primary
#181A71
secondary
#A6A43E
accent
#E440E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E