#18418F#18418F
#18418F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.137 H 261.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #18418F |
|---|---|
| RGB | rgb(24, 65, 143) |
| HSL | hsl(219, 71%, 33%) |
| HSV | hsv(219, 83%, 56%) |
| CMYK | cmyk(83.2%, 54.5%, 0%, 43.9%) |
| CIE-LAB | lab(29.30, 16.51, -47.15) |
| CIE-LCH | lch(29.30, 49.96, 289.30°) |
| OKLab | oklab(39.62% -0.02 -0.136) |
| OKLCH | oklch(39.62% 0.137 261.6) |
| XYZ | xyz(7.2231, 5.9571, 26.7504) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.36
Darkish Blue
#014182
ΔE00 3.08
Cobalt
#0047AB
ΔE00 3.98
Twilight Blue
#0A437A
ΔE00 4.24
Prussian Blue
#004577
ΔE00 5.66
Marine Blue
#01386A
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18418F #8F6618
analogous
#187C8F #18418F #2B188F
triadic
#18418F #8F1841 #418F18
tetradic
#18418F #8F187C #8F6618 #188F2B
square
#18418F #8F187C #8F6618 #188F2B
split-complementary
#18418F #8F2B18 #7C8F18
monochromatic
#061126 #0F295B #18418F #2159C3 #4278DF
Accessibility & contrast
On white
9.58
#18418F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#18418F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18418F
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18418F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18418F | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#024B92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #18418f; /* rgb */ color: rgb(24, 65, 143); /* oklch */ color: oklch(39.6% 0.137 261.6);
Tailwind
colors: {
custom: {
50: '#6a75b0',
500: '#18418f',
950: '#000000',
},
}SCSS
$custom: #18418f; $custom-light: #6a75b0; $custom-dark: #000000;
JSON
{
"hex": "#18418f",
"rgb": {
"r": 24,
"g": 65,
"b": 143
},
"hsl": {
"h": 219.328,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.39621,
"c": 0.13745,
"h": 261.6
},
"luminance": 0.05958
}Semantic roles & 50–950 ramp
primary
#18418F
secondary
#C09543
accent
#B03AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080811
muted
#7A7B80