#18358E#18358E
#18358E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.151 H 265.4°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #18358E |
|---|---|
| RGB | rgb(24, 53, 142) |
| HSL | hsl(225, 71%, 33%) |
| HSV | hsv(225, 83%, 56%) |
| CMYK | cmyk(83.1%, 62.7%, 0%, 44.3%) |
| CIE-LAB | lab(25.84, 24.44, -52.18) |
| CIE-LCH | lch(25.84, 57.62, 295.10°) |
| OKLab | oklab(36.99% -0.012 -0.1509) |
| OKLCH | oklch(36.99% 0.151 265.4) |
| XYZ | xyz(6.5306, 4.6926, 26.1475) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.47
Darkish Blue
#014182
ΔE00 6.37
Blueberry
#464196
ΔE00 6.55
Cobalt (survey)
#1E488F
ΔE00 6.56
Cobalt
#0047AB
ΔE00 6.74
Darkslateblue
#483D8B
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18358E #8E7118
analogous
#18708E #18358E #36188E
triadic
#18358E #8E1835 #358E18
tetradic
#18358E #8E1870 #8E7118 #188E36
square
#18358E #8E1870 #8E7118 #188E36
split-complementary
#18358E #8E3618 #708E18
monochromatic
#060E25 #0F215A #18358E #2149C2 #4168DF
Accessibility & contrast
On white
10.83
#18358E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#18358E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18358E
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18358E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18358E | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #18358e; /* rgb */ color: rgb(24, 53, 142); /* oklch */ color: oklch(37.0% 0.151 265.4);
Tailwind
colors: {
custom: {
50: '#6b6bb0',
500: '#18358e',
950: '#000000',
},
}SCSS
$custom: #18358e; $custom-light: #6b6bb0; $custom-dark: #000000;
JSON
{
"hex": "#18358e",
"rgb": {
"r": 24,
"g": 53,
"b": 142
},
"hsl": {
"h": 225.254,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.36989,
"c": 0.15143,
"h": 265.4
},
"luminance": 0.04693
}Semantic roles & 50–950 ramp
primary
#18358E
secondary
#C0A142
accent
#C23AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80