#182081#182081
#182081 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.159 H 269.9°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #182081 |
|---|---|
| RGB | rgb(24, 32, 129) |
| HSL | hsl(235, 69%, 30%) |
| HSV | hsv(235, 81%, 51%) |
| CMYK | cmyk(81.4%, 75.2%, 0%, 49.4%) |
| CIE-LAB | lab(19.27, 33.47, -54.83) |
| CIE-LCH | lch(19.27, 64.24, 301.40°) |
| OKLab | oklab(31.8% -0.0003 -0.1588) |
| OKLCH | oklch(31.8% 0.159 269.9) |
| XYZ | xyz(4.8543, 2.8116, 21.0515) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.99
Royal
#0C1793
ΔE00 3.54
Dark Royal Blue
#02066F
ΔE00 6.02
Darkblue
#00008B
ΔE00 6.13
Navy
#000080
ΔE00 6.23
Deep Blue
#040273
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182081 #817918
analogous
#185481 #182081 #451881
triadic
#182081 #811820 #208118
tetradic
#182081 #811854 #817918 #188145
square
#182081 #811854 #817918 #188145
split-complementary
#182081 #814518 #548118
monochromatic
#05061A #0E134D #182081 #222DB5 #3945DA
Accessibility & contrast
On white
13.44
#182081 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#182081 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182081
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182081 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182081 | 1.00 | 13.44 | 1.56 | 13.44 |
| #FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #182081; /* rgb */ color: rgb(24, 32, 129); /* oklch */ color: oklch(31.8% 0.159 269.9);
Tailwind
colors: {
custom: {
50: '#6a5ca7',
500: '#182081',
950: '#000000',
},
}SCSS
$custom: #182081; $custom-light: #6a5ca7; $custom-dark: #000000;
JSON
{
"hex": "#182081",
"rgb": {
"r": 24,
"g": 32,
"b": 129
},
"hsl": {
"h": 235.429,
"s": 68.627,
"l": 30
},
"oklch": {
"l": 0.318,
"c": 0.15882,
"h": 269.9
},
"luminance": 0.02812
}Semantic roles & 50–950 ramp
primary
#182081
secondary
#B5AC40
accent
#DE3CEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F