#18419E#18419E
#18419E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.158 H 263.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #18419E |
|---|---|
| RGB | rgb(24, 65, 158) |
| HSL | hsl(222, 74%, 36%) |
| HSV | hsv(222, 85%, 62%) |
| CMYK | cmyk(84.8%, 58.9%, 0%, 38%) |
| CIE-LAB | lab(30.50, 22.60, -54.36) |
| CIE-LCH | lch(30.50, 58.87, 292.57°) |
| OKLab | oklab(40.9% -0.0187 -0.1572) |
| OKLCH | oklch(40.9% 0.158 263.2) |
| XYZ | xyz(8.4363, 6.4424, 33.1400) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.69
Cobalt (survey)
#1E488F
ΔE00 3.64
Sapphire (survey)
#2138AB
ΔE00 4.30
Darkish Blue
#014182
ΔE00 5.09
Blue Blue
#2242C7
ΔE00 6.09
Twilight Blue
#0A437A
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18419E #9E7518
analogous
#18849E #18419E #32189E
triadic
#18419E #9E1841 #419E18
tetradic
#18419E #9E1884 #9E7518 #189E32
square
#18419E #9E1884 #9E7518 #189E32
split-complementary
#18419E #9E3218 #849E18
monochromatic
#081534 #102B69 #18419E #2057D3 #4D7BE4
Accessibility & contrast
On white
9.18
#18419E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#18419E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18419E
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18419E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18419E | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #18419e; /* rgb */ color: rgb(24, 65, 158); /* oklch */ color: oklch(40.9% 0.158 263.2);
Tailwind
colors: {
custom: {
50: '#6e75bb',
500: '#18419e',
950: '#000000',
},
}SCSS
$custom: #18419e; $custom-light: #6e75bb; $custom-dark: #000000;
JSON
{
"hex": "#18419e",
"rgb": {
"r": 24,
"g": 65,
"b": 158
},
"hsl": {
"h": 221.642,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.40902,
"c": 0.15827,
"h": 263.2
},
"luminance": 0.06443
}Semantic roles & 50–950 ramp
primary
#18419E
secondary
#C6A14C
accent
#B838F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81