#181881#181881
#181881 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.167 H 270.9°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).
Color values
| HEX | #181881 |
|---|---|
| RGB | rgb(24, 24, 129) |
| HSL | hsl(240, 69%, 30%) |
| HSV | hsv(240, 81%, 51%) |
| CMYK | cmyk(81.4%, 81.4%, 0%, 49.4%) |
| CIE-LAB | lab(17.61, 38.20, -57.59) |
| CIE-LCH | lch(17.61, 69.10, 303.56°) |
| OKLab | oklab(30.62% 0.0026 -0.1667) |
| OKLCH | oklch(30.62% 0.167 270.9) |
| XYZ | xyz(4.6644, 2.4319, 20.9882) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.62
Midnight Blue
#191970
ΔE00 2.79
Darkblue
#00008B
ΔE00 4.19
Navy
#000080
ΔE00 4.23
Dark Royal Blue
#02066F
ΔE00 4.37
Deep Blue
#040273
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181881 #818118
analogous
#184C81 #181881 #4C1881
triadic
#181881 #811818 #188118
tetradic
#181881 #81184D #818118 #18814D
square
#181881 #81184D #818118 #18814D
split-complementary
#181881 #814C18 #4D8118
monochromatic
#05051A #0E0E4D #181881 #2222B5 #3939DA
Accessibility & contrast
On white
14.13
#181881 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#181881 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181881
14.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181881 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181881 | 1.00 | 14.13 | 1.49 | 14.13 |
| #FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003084
Deuteranopia (green-blind)
#00267F
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #181881; /* rgb */ color: rgb(24, 24, 129); /* oklch */ color: oklch(30.6% 0.167 270.9);
Tailwind
colors: {
custom: {
50: '#6a57a7',
500: '#181881',
950: '#000000',
},
}SCSS
$custom: #181881; $custom-light: #6a57a7; $custom-dark: #000000;
JSON
{
"hex": "#181881",
"rgb": {
"r": 24,
"g": 24,
"b": 129
},
"hsl": {
"h": 240,
"s": 68.627,
"l": 30
},
"oklch": {
"l": 0.30621,
"c": 0.16676,
"h": 270.9
},
"luminance": 0.02432
}Semantic roles & 50–950 ramp
primary
#181881
secondary
#B5B540
accent
#EB3CEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F