#18397C#18397C
#18397C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.3% C 0.121 H 262.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #18397C |
|---|---|
| RGB | rgb(24, 57, 124) |
| HSL | hsl(220, 68%, 29%) |
| HSV | hsv(220, 81%, 49%) |
| CMYK | cmyk(80.6%, 54%, 0%, 51.4%) |
| CIE-LAB | lab(25.49, 14.29, -41.51) |
| CIE-LCH | lch(25.49, 43.90, 289.00°) |
| OKLab | oklab(36.26% -0.016 -0.1195) |
| OKLCH | oklch(36.26% 0.121 262.4) |
| XYZ | xyz(5.4766, 4.5750, 19.6593) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 3.91
Marine Blue
#01386A
ΔE00 4.03
Twilight Blue
#0A437A
ΔE00 4.81
Marine
#042E60
ΔE00 4.98
Cobalt (survey)
#1E488F
ΔE00 5.16
Prussian Blue
#004577
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18397C #7C5B18
analogous
#186B7C #18397C #29187C
triadic
#18397C #7C1839 #397C18
tetradic
#18397C #7C186B #7C5B18 #187C29
square
#18397C #7C186B #7C5B18 #187C29
split-complementary
#18397C #7C2918 #6B7C18
monochromatic
#050C1A #0E2149 #18397C #2251AF #366CD8
Accessibility & contrast
On white
10.96
#18397C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#18397C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18397C
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18397C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18397C | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A417E
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #18397c; /* rgb */ color: rgb(24, 57, 124); /* oklch */ color: oklch(36.3% 0.121 262.4);
Tailwind
colors: {
custom: {
50: '#666ea2',
500: '#18397c',
950: '#000000',
},
}SCSS
$custom: #18397c; $custom-light: #666ea2; $custom-dark: #000000;
JSON
{
"hex": "#18397c",
"rgb": {
"r": 24,
"g": 57,
"b": 124
},
"hsl": {
"h": 220.2,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.36257,
"c": 0.12061,
"h": 262.4
},
"luminance": 0.04576
}Semantic roles & 50–950 ramp
primary
#18397C
secondary
#B18B3F
accent
#B13DEA
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F