#181577#181577
#181577 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.157 H 272.1°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).
Color values
| HEX | #181577 |
|---|---|
| RGB | rgb(24, 21, 119) |
| HSL | hsl(242, 70%, 27%) |
| HSV | hsv(242, 82%, 47%) |
| CMYK | cmyk(79.8%, 82.4%, 0%, 53.3%) |
| CIE-LAB | lab(15.81, 36.42, -54.18) |
| CIE-LCH | lch(15.81, 65.29, 303.91°) |
| OKLab | oklab(29.01% 0.0058 -0.1568) |
| OKLCH | oklch(29.01% 0.157 272.1) |
| XYZ | xyz(3.9735, 2.0620, 17.6378) |
| Luminance | 0.0206 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.69
Dark Royal Blue
#02066F
ΔE00 3.22
Deep Blue
#040273
ΔE00 3.65
Navy
#000080
ΔE00 4.00
Darkblue (survey)
#030764
ΔE00 4.02
Royal
#0C1793
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181577 #747715
analogous
#154377 #181577 #491577
triadic
#181577 #771815 #157718
tetradic
#181577 #771543 #747715 #157749
square
#181577 #771543 #747715 #157749
split-complementary
#181577 #774915 #437715
monochromatic
#05051A #0E0C43 #181577 #221EAB #322DDA
Accessibility & contrast
On white
14.87
#181577 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#181577 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181577
14.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181577 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181577 | 1.00 | 14.87 | 1.41 | 14.87 |
| #FFFFFF | 14.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002275
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #181577; /* rgb */ color: rgb(24, 21, 119); /* oklch */ color: oklch(29.0% 0.157 272.1);
Tailwind
colors: {
custom: {
50: '#68559f',
500: '#181577',
950: '#000000',
},
}SCSS
$custom: #181577; $custom-light: #68559f; $custom-dark: #000000;
JSON
{
"hex": "#181577",
"rgb": {
"r": 24,
"g": 21,
"b": 119
},
"hsl": {
"h": 241.837,
"s": 70,
"l": 27.451
},
"oklch": {
"l": 0.29005,
"c": 0.15692,
"h": 272.1
},
"luminance": 0.02062
}Semantic roles & 50–950 ramp
primary
#181577
secondary
#A9AD3B
accent
#ED3BE7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E