#181575#181575
#181575 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.154 H 272.3°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).
Color values
| HEX | #181575 |
|---|---|
| RGB | rgb(24, 21, 117) |
| HSL | hsl(242, 70%, 27%) |
| HSV | hsv(242, 82%, 46%) |
| CMYK | cmyk(79.5%, 82.1%, 0%, 54.1%) |
| CIE-LAB | lab(15.56, 35.74, -53.30) |
| CIE-LCH | lch(15.56, 64.17, 303.84°) |
| OKLab | oklab(28.76% 0.0063 -0.1543) |
| OKLCH | oklch(28.76% 0.154 272.3) |
| XYZ | xyz(3.8547, 2.0145, 17.0119) |
| Luminance | 0.0202 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.45
Dark Royal Blue
#02066F
ΔE00 3.16
Deep Blue
#040273
ΔE00 3.67
Darkblue (survey)
#030764
ΔE00 3.83
Navy
#000080
ΔE00 4.16
Royal
#0C1793
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181575 #727515
analogous
#154275 #181575 #481575
triadic
#181575 #751815 #157518
tetradic
#181575 #751542 #727515 #157548
square
#181575 #751542 #727515 #157548
split-complementary
#181575 #754815 #427515
monochromatic
#05051A #0D0C41 #181575 #231EA9 #312BD9
Accessibility & contrast
On white
14.97
#181575 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#181575 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181575
14.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181575 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181575 | 1.00 | 14.97 | 1.40 | 14.97 |
| #FFFFFF | 14.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002273
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #181575; /* rgb */ color: rgb(24, 21, 117); /* oklch */ color: oklch(28.8% 0.154 272.3);
Tailwind
colors: {
custom: {
50: '#67559e',
500: '#181575',
950: '#000000',
},
}SCSS
$custom: #181575; $custom-light: #67559e; $custom-dark: #000000;
JSON
{
"hex": "#181575",
"rgb": {
"r": 24,
"g": 21,
"b": 117
},
"hsl": {
"h": 241.875,
"s": 69.565,
"l": 27.059
},
"oklch": {
"l": 0.28761,
"c": 0.15439,
"h": 272.3
},
"luminance": 0.02015
}Semantic roles & 50–950 ramp
primary
#181575
secondary
#A7AB3B
accent
#EC3BE7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E