#181180#181180
#181180 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.171 H 271.6°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).
Color values
| HEX | #181180 |
|---|---|
| RGB | rgb(24, 17, 128) |
| HSL | hsl(244, 77%, 28%) |
| HSV | hsv(244, 87%, 50%) |
| CMYK | cmyk(81.3%, 86.7%, 0%, 49.8%) |
| CIE-LAB | lab(16.27, 41.41, -59.17) |
| CIE-LCH | lch(16.27, 72.22, 304.98°) |
| OKLab | oklab(29.66% 0.0047 -0.1712) |
| OKLCH | oklch(29.66% 0.171 271.6) |
| XYZ | xyz(4.4721, 2.1531, 20.5978) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.86
Royal
#0C1793
ΔE00 2.95
Darkblue
#00008B
ΔE00 2.98
Deep Blue
#040273
ΔE00 3.33
Dark Royal Blue
#02066F
ΔE00 3.37
Midnight Blue
#191970
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181180 #798011
analogous
#114180 #181180 #4F1180
triadic
#181180 #801811 #118018
tetradic
#181180 #801141 #798011 #11804F
square
#181180 #801141 #798011 #11804F
split-complementary
#181180 #804F11 #418011
monochromatic
#05041B #0E0A4A #181180 #2218B6 #3529E3
Accessibility & contrast
On white
14.68
#181180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#181180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181180
14.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181180 | 1.00 | 14.68 | 1.43 | 14.68 |
| #FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00237E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #181180; /* rgb */ color: rgb(24, 17, 128); /* oklch */ color: oklch(29.7% 0.171 271.6);
Tailwind
colors: {
custom: {
50: '#6b53a6',
500: '#181180',
950: '#000000',
},
}SCSS
$custom: #181180; $custom-light: #6b53a6; $custom-dark: #000000;
JSON
{
"hex": "#181180",
"rgb": {
"r": 24,
"g": 17,
"b": 128
},
"hsl": {
"h": 243.784,
"s": 76.552,
"l": 28.431
},
"oklch": {
"l": 0.29656,
"c": 0.17125,
"h": 271.6
},
"luminance": 0.02154
}Semantic roles & 50–950 ramp
primary
#181180
secondary
#AEB637
accent
#F335E7
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#080310
muted
#7B787F