#18388E#18388E
#18388E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.148 H 264.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #18388E |
|---|---|
| RGB | rgb(24, 56, 142) |
| HSL | hsl(224, 71%, 33%) |
| HSV | hsv(224, 83%, 56%) |
| CMYK | cmyk(83.1%, 60.6%, 0%, 44.3%) |
| CIE-LAB | lab(26.66, 22.36, -50.83) |
| CIE-LCH | lch(26.66, 55.53, 293.75°) |
| OKLab | oklab(37.6% -0.0139 -0.147) |
| OKLCH | oklch(37.6% 0.148 264.6) |
| XYZ | xyz(6.6716, 4.9747, 26.1945) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.68
Darkish Blue
#014182
ΔE00 5.42
Cobalt (survey)
#1E488F
ΔE00 5.52
Cobalt
#0047AB
ΔE00 5.94
Blueberry
#464196
ΔE00 6.50
Marine Blue
#01386A
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18388E #8E6E18
analogous
#18738E #18388E #33188E
triadic
#18388E #8E1838 #388E18
tetradic
#18388E #8E1873 #8E6E18 #188E33
square
#18388E #8E1873 #8E6E18 #188E33
split-complementary
#18388E #8E3318 #738E18
monochromatic
#060F25 #0F235A #18388E #214DC2 #416CDF
Accessibility & contrast
On white
10.53
#18388E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#18388E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18388E
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18388E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18388E | 1.00 | 10.53 | 2.00 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #18388e; /* rgb */ color: rgb(24, 56, 142); /* oklch */ color: oklch(37.6% 0.148 264.6);
Tailwind
colors: {
custom: {
50: '#6b6eb0',
500: '#18388e',
950: '#000000',
},
}SCSS
$custom: #18388e; $custom-light: #6b6eb0; $custom-dark: #000000;
JSON
{
"hex": "#18388e",
"rgb": {
"r": 24,
"g": 56,
"b": 142
},
"hsl": {
"h": 223.729,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.37603,
"c": 0.14762,
"h": 264.6
},
"luminance": 0.04976
}Semantic roles & 50–950 ramp
primary
#18388E
secondary
#C09E42
accent
#BD3AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80