#181381#181381
#181381 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 30.0% C 0.171 H 271.3°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).
Color values
| HEX | #181381 |
|---|---|
| RGB | rgb(24, 19, 129) |
| HSL | hsl(243, 74%, 29%) |
| HSV | hsv(243, 85%, 51%) |
| CMYK | cmyk(81.4%, 85.3%, 0%, 49.4%) |
| CIE-LAB | lab(16.72, 40.79, -59.06) |
| CIE-LCH | lch(16.72, 71.77, 304.63°) |
| OKLab | oklab(30% 0.004 -0.1709) |
| OKLCH | oklch(30% 0.171 271.3) |
| XYZ | xyz(4.5707, 2.2444, 20.9569) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.70
Navy
#000080
ΔE00 3.21
Darkblue
#00008B
ΔE00 3.23
Midnight Blue
#191970
ΔE00 3.26
Dark Royal Blue
#02066F
ΔE00 3.68
Deep Blue
#040273
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181381 #7C8113
analogous
#134581 #181381 #4F1381
triadic
#181381 #811813 #138118
tetradic
#181381 #811345 #7C8113 #13814F
square
#181381 #811345 #7C8113 #13814F
split-complementary
#181381 #814F13 #458113
monochromatic
#05041B #0E0B4C #181381 #221BB6 #362EE0
Accessibility & contrast
On white
14.49
#181381 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#181381 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181381
14.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181381 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181381 | 1.00 | 14.49 | 1.45 | 14.49 |
| #FFFFFF | 14.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00247F
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #181381; /* rgb */ color: rgb(24, 19, 129); /* oklch */ color: oklch(30.0% 0.171 271.3);
Tailwind
colors: {
custom: {
50: '#6b54a7',
500: '#181381',
950: '#000000',
},
}SCSS
$custom: #181381; $custom-light: #6b54a7; $custom-dark: #000000;
JSON
{
"hex": "#181381",
"rgb": {
"r": 24,
"g": 19,
"b": 129
},
"hsl": {
"h": 242.727,
"s": 74.324,
"l": 29.02
},
"oklch": {
"l": 0.30004,
"c": 0.17096,
"h": 271.3
},
"luminance": 0.02245
}Semantic roles & 50–950 ramp
primary
#181381
secondary
#B1B63A
accent
#F137E9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F