#18408F#18408F
#18408F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.139 H 262.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #18408F |
|---|---|
| RGB | rgb(24, 64, 143) |
| HSL | hsl(220, 71%, 33%) |
| HSV | hsv(220, 83%, 56%) |
| CMYK | cmyk(83.2%, 55.2%, 0%, 43.9%) |
| CIE-LAB | lab(29.01, 17.20, -47.62) |
| CIE-LCH | lch(29.01, 50.64, 289.86°) |
| OKLab | oklab(39.4% -0.0192 -0.1374) |
| OKLCH | oklch(39.4% 0.139 262) |
| XYZ | xyz(7.1662, 5.8433, 26.7314) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.72
Darkish Blue
#014182
ΔE00 3.29
Cobalt
#0047AB
ΔE00 4.12
Twilight Blue
#0A437A
ΔE00 4.47
Prussian Blue
#004577
ΔE00 5.90
Marine Blue
#01386A
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18408F #8F6718
analogous
#187B8F #18408F #2C188F
triadic
#18408F #8F1840 #408F18
tetradic
#18408F #8F187B #8F6718 #188F2C
square
#18408F #8F187B #8F6718 #188F2C
split-complementary
#18408F #8F2C18 #7B8F18
monochromatic
#061126 #0F295B #18408F #2157C3 #4277DF
Accessibility & contrast
On white
9.68
#18408F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#18408F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18408F
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18408F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18408F | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #18408f; /* rgb */ color: rgb(24, 64, 143); /* oklch */ color: oklch(39.4% 0.139 262.0);
Tailwind
colors: {
custom: {
50: '#6a74b0',
500: '#18408f',
950: '#000000',
},
}SCSS
$custom: #18408f; $custom-light: #6a74b0; $custom-dark: #000000;
JSON
{
"hex": "#18408f",
"rgb": {
"r": 24,
"g": 64,
"b": 143
},
"hsl": {
"h": 219.832,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.394,
"c": 0.13873,
"h": 262
},
"luminance": 0.05844
}Semantic roles & 50–950 ramp
primary
#18408F
secondary
#C09643
accent
#B13AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080811
muted
#7A7B80