#18378E#18378E
#18378E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.149 H 264.9°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #18378E |
|---|---|
| RGB | rgb(24, 55, 142) |
| HSL | hsl(224, 71%, 33%) |
| HSV | hsv(224, 83%, 56%) |
| CMYK | cmyk(83.1%, 61.3%, 0%, 44.3%) |
| CIE-LAB | lab(26.39, 23.06, -51.28) |
| CIE-LCH | lch(26.39, 56.23, 294.21°) |
| OKLab | oklab(37.4% -0.0133 -0.1483) |
| OKLCH | oklch(37.4% 0.149 264.9) |
| XYZ | xyz(6.6236, 4.8788, 26.1785) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.59
Darkish Blue
#014182
ΔE00 5.74
Cobalt (survey)
#1E488F
ΔE00 5.87
Cobalt
#0047AB
ΔE00 6.20
Blueberry
#464196
ΔE00 6.49
Marine Blue
#01386A
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18378E #8E6F18
analogous
#18728E #18378E #34188E
triadic
#18378E #8E1837 #378E18
tetradic
#18378E #8E1872 #8E6F18 #188E34
square
#18378E #8E1872 #8E6F18 #188E34
split-complementary
#18378E #8E3418 #728E18
monochromatic
#060E25 #0F235A #18378E #214BC2 #416BDF
Accessibility & contrast
On white
10.63
#18378E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#18378E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18378E
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18378E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18378E | 1.00 | 10.63 | 1.98 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #18378e; /* rgb */ color: rgb(24, 55, 142); /* oklch */ color: oklch(37.4% 0.149 264.9);
Tailwind
colors: {
custom: {
50: '#6b6db0',
500: '#18378e',
950: '#000000',
},
}SCSS
$custom: #18378e; $custom-light: #6b6db0; $custom-dark: #000000;
JSON
{
"hex": "#18378e",
"rgb": {
"r": 24,
"g": 55,
"b": 142
},
"hsl": {
"h": 224.237,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.37396,
"c": 0.14889,
"h": 264.9
},
"luminance": 0.0488
}Semantic roles & 50–950 ramp
primary
#18378E
secondary
#C09F42
accent
#BF3AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80