#18408E#18408E
#18408E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.137 H 261.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #18408E |
|---|---|
| RGB | rgb(24, 64, 142) |
| HSL | hsl(220, 71%, 33%) |
| HSV | hsv(220, 83%, 56%) |
| CMYK | cmyk(83.1%, 54.9%, 0%, 44.3%) |
| CIE-LAB | lab(28.94, 16.80, -47.13) |
| CIE-LCH | lch(28.94, 50.04, 289.61°) |
| OKLab | oklab(39.32% -0.0193 -0.1359) |
| OKLCH | oklch(39.32% 0.137 261.9) |
| XYZ | xyz(7.0908, 5.8131, 26.3343) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.68
Darkish Blue
#014182
ΔE00 3.16
Cobalt
#0047AB
ΔE00 4.23
Twilight Blue
#0A437A
ΔE00 4.35
Prussian Blue
#004577
ΔE00 5.80
Marine Blue
#01386A
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18408E #8E6618
analogous
#187B8E #18408E #2B188E
triadic
#18408E #8E1840 #408E18
tetradic
#18408E #8E187B #8E6618 #188E2B
square
#18408E #8E187B #8E6618 #188E2B
split-complementary
#18408E #8E2B18 #7B8E18
monochromatic
#061125 #0F285A #18408E #2158C2 #4177DF
Accessibility & contrast
On white
9.71
#18408E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#18408E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18408E
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18408E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18408E | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #18408e; /* rgb */ color: rgb(24, 64, 142); /* oklch */ color: oklch(39.3% 0.137 261.9);
Tailwind
colors: {
custom: {
50: '#6a74b0',
500: '#18408e',
950: '#000000',
},
}SCSS
$custom: #18408e; $custom-light: #6a74b0; $custom-dark: #000000;
JSON
{
"hex": "#18408e",
"rgb": {
"r": 24,
"g": 64,
"b": 142
},
"hsl": {
"h": 219.661,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.39317,
"c": 0.13732,
"h": 261.9
},
"luminance": 0.05814
}Semantic roles & 50–950 ramp
primary
#18408E
secondary
#C09542
accent
#B13AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F