#181581#181581
#181581 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.169 H 271.2°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #181581 |
|---|---|
| RGB | rgb(24, 21, 129) |
| HSL | hsl(242, 72%, 29%) |
| HSV | hsv(242, 84%, 51%) |
| CMYK | cmyk(81.4%, 83.7%, 0%, 49.4%) |
| CIE-LAB | lab(17.06, 39.79, -58.50) |
| CIE-LCH | lch(17.06, 70.75, 304.22°) |
| OKLab | oklab(30.24% 0.0035 -0.1693) |
| OKLCH | oklch(30.24% 0.169 271.2) |
| XYZ | xyz(4.6060, 2.3150, 20.9687) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.62
Midnight Blue
#191970
ΔE00 3.04
Darkblue
#00008B
ΔE00 3.59
Navy
#000080
ΔE00 3.60
Dark Royal Blue
#02066F
ΔE00 3.92
Deep Blue
#040273
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181581 #7E8115
analogous
#154881 #181581 #4E1581
triadic
#181581 #811815 #158118
tetradic
#181581 #811548 #7E8115 #15814E
square
#181581 #811548 #7E8115 #15814E
split-complementary
#181581 #814E15 #488115
monochromatic
#05041A #0E0C4C #181581 #221EB6 #3733DE
Accessibility & contrast
On white
14.35
#181581 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#181581 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181581
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181581 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181581 | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00247F
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #181581; /* rgb */ color: rgb(24, 21, 129); /* oklch */ color: oklch(30.2% 0.169 271.2);
Tailwind
colors: {
custom: {
50: '#6b55a7',
500: '#181581',
950: '#000000',
},
}SCSS
$custom: #181581; $custom-light: #6b55a7; $custom-dark: #000000;
JSON
{
"hex": "#181581",
"rgb": {
"r": 24,
"g": 21,
"b": 129
},
"hsl": {
"h": 241.667,
"s": 72,
"l": 29.412
},
"oklch": {
"l": 0.30239,
"c": 0.16935,
"h": 271.2
},
"luminance": 0.02316
}Semantic roles & 50–950 ramp
primary
#181581
secondary
#B2B63C
accent
#EF39EA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F