#181A81#181A81
#181A81 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.165 H 270.7°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).
Color values
| HEX | #181A81 |
|---|---|
| RGB | rgb(24, 26, 129) |
| HSL | hsl(239, 69%, 30%) |
| HSV | hsv(239, 81%, 51%) |
| CMYK | cmyk(81.4%, 79.8%, 0%, 49.4%) |
| CIE-LAB | lab(18.00, 37.08, -56.94) |
| CIE-LCH | lch(18.00, 67.95, 303.07°) |
| OKLab | oklab(30.89% 0.0019 -0.1649) |
| OKLCH | oklch(30.89% 0.165 270.7) |
| XYZ | xyz(4.7072, 2.5174, 21.0024) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.70
Royal
#0C1793
ΔE00 2.73
Darkblue
#00008B
ΔE00 4.63
Navy
#000080
ΔE00 4.69
Dark Royal Blue
#02066F
ΔE00 4.72
Deep Blue
#040273
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181A81 #817F18
analogous
#184F81 #181A81 #4A1881
triadic
#181A81 #81181A #1A8118
tetradic
#181A81 #81184F #817F18 #18814A
square
#181A81 #81184F #817F18 #18814A
split-complementary
#181A81 #814A18 #4F8118
monochromatic
#05051A #0E104D #181A81 #2224B5 #393CDA
Accessibility & contrast
On white
13.97
#181A81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#181A81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181A81
13.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181A81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181A81 | 1.00 | 13.97 | 1.50 | 13.97 |
| #FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#00277F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #181a81; /* rgb */ color: rgb(24, 26, 129); /* oklch */ color: oklch(30.9% 0.165 270.7);
Tailwind
colors: {
custom: {
50: '#6a58a7',
500: '#181a81',
950: '#000000',
},
}SCSS
$custom: #181a81; $custom-light: #6a58a7; $custom-dark: #000000;
JSON
{
"hex": "#181a81",
"rgb": {
"r": 24,
"g": 26,
"b": 129
},
"hsl": {
"h": 238.857,
"s": 68.627,
"l": 30
},
"oklch": {
"l": 0.30894,
"c": 0.1649,
"h": 270.7
},
"luminance": 0.02518
}Semantic roles & 50–950 ramp
primary
#181A81
secondary
#B5B340
accent
#E83CEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080310
muted
#7A787F