#181580#181580
#181580 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.168 H 271.3°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #181580 |
|---|---|
| RGB | rgb(24, 21, 128) |
| HSL | hsl(242, 72%, 29%) |
| HSV | hsv(242, 84%, 50%) |
| CMYK | cmyk(81.3%, 83.6%, 0%, 49.8%) |
| CIE-LAB | lab(16.93, 39.46, -58.07) |
| CIE-LCH | lch(16.93, 70.21, 304.20°) |
| OKLab | oklab(30.12% 0.0037 -0.1681) |
| OKLCH | oklch(30.12% 0.168 271.3) |
| XYZ | xyz(4.5398, 2.2885, 20.6204) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.76
Midnight Blue
#191970
ΔE00 2.90
Navy
#000080
ΔE00 3.60
Darkblue
#00008B
ΔE00 3.66
Dark Royal Blue
#02066F
ΔE00 3.83
Deep Blue
#040273
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181580 #7D8015
analogous
#154880 #181580 #4E1580
triadic
#181580 #801815 #158018
tetradic
#181580 #801548 #7D8015 #15804E
square
#181580 #801548 #7D8015 #15804E
split-complementary
#181580 #804E15 #488015
monochromatic
#05041A #0E0C4B #181580 #221EB5 #3732DD
Accessibility & contrast
On white
14.41
#181580 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#181580 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181580
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181580 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181580 | 1.00 | 14.41 | 1.46 | 14.41 |
| #FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #181580; /* rgb */ color: rgb(24, 21, 128); /* oklch */ color: oklch(30.1% 0.168 271.3);
Tailwind
colors: {
custom: {
50: '#6a55a6',
500: '#181580',
950: '#000000',
},
}SCSS
$custom: #181580; $custom-light: #6a55a6; $custom-dark: #000000;
JSON
{
"hex": "#181580",
"rgb": {
"r": 24,
"g": 21,
"b": 128
},
"hsl": {
"h": 241.682,
"s": 71.812,
"l": 29.216
},
"oklch": {
"l": 0.30115,
"c": 0.16812,
"h": 271.3
},
"luminance": 0.02289
}Semantic roles & 50–950 ramp
primary
#181580
secondary
#B2B53C
accent
#EF39E9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F