#18408B#18408B
#18408B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.133 H 261.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #18408B |
|---|---|
| RGB | rgb(24, 64, 139) |
| HSL | hsl(219, 71%, 32%) |
| HSV | hsv(219, 83%, 55%) |
| CMYK | cmyk(82.7%, 54%, 0%, 45.5%) |
| CIE-LAB | lab(28.71, 15.57, -45.66) |
| CIE-LCH | lch(28.71, 48.24, 288.83°) |
| OKLab | oklab(39.07% -0.0197 -0.1316) |
| OKLCH | oklch(39.07% 0.133 261.5) |
| XYZ | xyz(6.8686, 5.7242, 25.1640) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.61
Darkish Blue
#014182
ΔE00 2.81
Twilight Blue
#0A437A
ΔE00 3.98
Cobalt
#0047AB
ΔE00 4.56
Marine Blue
#01386A
ΔE00 5.41
Prussian Blue
#004577
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18408B #8B6318
analogous
#187A8B #18408B #29188B
triadic
#18408B #8B1840 #408B18
tetradic
#18408B #8B187A #8B6318 #188B29
square
#18408B #8B187A #8B6318 #188B29
split-complementary
#18408B #8B2918 #7A8B18
monochromatic
#061023 #0F2857 #18408B #2158BF #3F77DE
Accessibility & contrast
On white
9.79
#18408B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#18408B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18408B
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18408B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18408B | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#08498E
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #18408b; /* rgb */ color: rgb(24, 64, 139); /* oklch */ color: oklch(39.1% 0.133 261.5);
Tailwind
colors: {
custom: {
50: '#6974ad',
500: '#18408b',
950: '#000000',
},
}SCSS
$custom: #18408b; $custom-light: #6974ad; $custom-dark: #000000;
JSON
{
"hex": "#18408b",
"rgb": {
"r": 24,
"g": 64,
"b": 139
},
"hsl": {
"h": 219.13,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.39069,
"c": 0.13307,
"h": 261.5
},
"luminance": 0.05725
}Semantic roles & 50–950 ramp
primary
#18408B
secondary
#BE9340
accent
#AF3AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F