#181380#181380
#181380 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.170 H 271.4°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).
Color values
| HEX | #181380 |
|---|---|
| RGB | rgb(24, 19, 128) |
| HSL | hsl(243, 74%, 29%) |
| HSV | hsv(243, 85%, 50%) |
| CMYK | cmyk(81.3%, 85.2%, 0%, 49.8%) |
| CIE-LAB | lab(16.59, 40.46, -58.64) |
| CIE-LCH | lch(16.59, 71.24, 304.61°) |
| OKLab | oklab(29.88% 0.0042 -0.1697) |
| OKLCH | oklch(29.88% 0.17 271.4) |
| XYZ | xyz(4.5045, 2.2179, 20.6086) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.83
Midnight Blue
#191970
ΔE00 3.13
Navy
#000080
ΔE00 3.22
Darkblue
#00008B
ΔE00 3.30
Dark Royal Blue
#02066F
ΔE00 3.58
Deep Blue
#040273
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181380 #7B8013
analogous
#134580 #181380 #4F1380
triadic
#181380 #801813 #138018
tetradic
#181380 #801345 #7B8013 #13804F
square
#181380 #801345 #7B8013 #13804F
split-complementary
#181380 #804F13 #458013
monochromatic
#05041B #0E0B4B #181380 #221BB5 #362DE0
Accessibility & contrast
On white
14.55
#181380 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#181380 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181380
14.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181380 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181380 | 1.00 | 14.55 | 1.44 | 14.55 |
| #FFFFFF | 14.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00237E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #181380; /* rgb */ color: rgb(24, 19, 128); /* oklch */ color: oklch(29.9% 0.170 271.4);
Tailwind
colors: {
custom: {
50: '#6b54a6',
500: '#181380',
950: '#000000',
},
}SCSS
$custom: #181380; $custom-light: #6b54a6; $custom-dark: #000000;
JSON
{
"hex": "#181380",
"rgb": {
"r": 24,
"g": 19,
"b": 128
},
"hsl": {
"h": 242.752,
"s": 74.15,
"l": 28.824
},
"oklch": {
"l": 0.29877,
"c": 0.16974,
"h": 271.4
},
"luminance": 0.02218
}Semantic roles & 50–950 ramp
primary
#181380
secondary
#B0B539
accent
#F137E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F