#182181#182181
#182181 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.158 H 269.7°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).
Color values
| HEX | #182181 |
|---|---|
| RGB | rgb(24, 33, 129) |
| HSL | hsl(235, 69%, 30%) |
| HSV | hsv(235, 81%, 51%) |
| CMYK | cmyk(81.4%, 74.4%, 0%, 49.4%) |
| CIE-LAB | lab(19.50, 32.84, -54.46) |
| CIE-LCH | lch(19.50, 63.59, 301.09°) |
| OKLab | oklab(31.96% -0.0008 -0.1577) |
| OKLCH | oklch(31.96% 0.158 269.7) |
| XYZ | xyz(4.8816, 2.8663, 21.0606) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.13
Royal
#0C1793
ΔE00 3.74
Dark Royal Blue
#02066F
ΔE00 6.27
Darkblue
#00008B
ΔE00 6.40
Navy
#000080
ΔE00 6.51
Deep Blue
#040273
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182181 #817818
analogous
#185681 #182181 #431881
triadic
#182181 #811821 #218118
tetradic
#182181 #811856 #817818 #188143
square
#182181 #811856 #817818 #188143
split-complementary
#182181 #814318 #568118
monochromatic
#05071A #0E144D #182181 #222EB5 #3947DA
Accessibility & contrast
On white
13.35
#182181 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#182181 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182181
13.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182181 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182181 | 1.00 | 13.35 | 1.57 | 13.35 |
| #FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #182181; /* rgb */ color: rgb(24, 33, 129); /* oklch */ color: oklch(32.0% 0.158 269.7);
Tailwind
colors: {
custom: {
50: '#695da7',
500: '#182181',
950: '#000000',
},
}SCSS
$custom: #182181; $custom-light: #695da7; $custom-dark: #000000;
JSON
{
"hex": "#182181",
"rgb": {
"r": 24,
"g": 33,
"b": 129
},
"hsl": {
"h": 234.857,
"s": 68.627,
"l": 30
},
"oklch": {
"l": 0.31962,
"c": 0.15773,
"h": 269.7
},
"luminance": 0.02867
}Semantic roles & 50–950 ramp
primary
#182181
secondary
#B5AB40
accent
#DC3CEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F