#18397E#18397E
#18397E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.124 H 262.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #18397E |
|---|---|
| RGB | rgb(24, 57, 126) |
| HSL | hsl(221, 68%, 29%) |
| HSV | hsv(221, 81%, 49%) |
| CMYK | cmyk(81%, 54.8%, 0%, 50.6%) |
| CIE-LAB | lab(25.64, 15.12, -42.52) |
| CIE-LCH | lch(25.64, 45.13, 289.57°) |
| OKLab | oklab(36.42% -0.0158 -0.1225) |
| OKLCH | oklch(36.42% 0.124 262.7) |
| XYZ | xyz(5.6044, 4.6262, 20.3322) |
| Luminance | 0.0463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 3.97
Marine Blue
#01386A
ΔE00 4.28
Twilight Blue
#0A437A
ΔE00 4.94
Cobalt (survey)
#1E488F
ΔE00 5.09
Marine
#042E60
ΔE00 5.23
Prussian Blue
#004577
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18397E #7E5D18
analogous
#186C7E #18397E #2A187E
triadic
#18397E #7E1839 #397E18
tetradic
#18397E #7E186C #7E5D18 #187E2A
square
#18397E #7E186C #7E5D18 #187E2A
split-complementary
#18397E #7E2A18 #6C7E18
monochromatic
#050C1A #0E224B #18397E #2250B1 #376CD9
Accessibility & contrast
On white
10.91
#18397E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#18397E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18397E
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18397E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18397E | 1.00 | 10.91 | 1.93 | 10.91 |
| #FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#064280
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #18397e; /* rgb */ color: rgb(24, 57, 126); /* oklch */ color: oklch(36.4% 0.124 262.7);
Tailwind
colors: {
custom: {
50: '#666ea4',
500: '#18397e',
950: '#000000',
},
}SCSS
$custom: #18397e; $custom-light: #666ea4; $custom-dark: #000000;
JSON
{
"hex": "#18397e",
"rgb": {
"r": 24,
"g": 57,
"b": 126
},
"hsl": {
"h": 220.588,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.36423,
"c": 0.12353,
"h": 262.7
},
"luminance": 0.04627
}Semantic roles & 50–950 ramp
primary
#18397E
secondary
#B28D3F
accent
#B33DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F