#18478C#18478C
#18478C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.7% C 0.126 H 258.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #18478C |
|---|---|
| RGB | rgb(24, 71, 140) |
| HSL | hsl(216, 71%, 32%) |
| HSV | hsv(216, 83%, 55%) |
| CMYK | cmyk(82.9%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(30.86, 11.14, -42.79) |
| CIE-LCH | lch(30.86, 44.22, 284.59°) |
| OKLab | oklab(40.74% -0.025 -0.123) |
| OKLCH | oklch(40.74% 0.126 258.5) |
| XYZ | xyz(7.3618, 6.5932, 25.6905) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.79
Darkish Blue
#014182
ΔE00 2.45
Twilight Blue
#0A437A
ΔE00 3.02
Dusk Blue
#26538D
ΔE00 3.96
Cobalt
#0047AB
ΔE00 4.13
Prussian Blue
#004577
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18478C #8C5D18
analogous
#18818C #18478C #23188C
triadic
#18478C #8C1847 #478C18
tetradic
#18478C #8C1881 #8C5D18 #188C23
square
#18478C #8C1881 #8C5D18 #188C23
split-complementary
#18478C #8C2318 #818C18
monochromatic
#061224 #0F2D58 #18478C #2161C0 #4080DE
Accessibility & contrast
On white
9.06
#18478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#18478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18478C
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18478C | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4E8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #18478c; /* rgb */ color: rgb(24, 71, 140); /* oklch */ color: oklch(40.7% 0.126 258.5);
Tailwind
colors: {
custom: {
50: '#6979ae',
500: '#18478c',
950: '#000000',
},
}SCSS
$custom: #18478c; $custom-light: #6979ae; $custom-dark: #000000;
JSON
{
"hex": "#18478c",
"rgb": {
"r": 24,
"g": 71,
"b": 140
},
"hsl": {
"h": 215.69,
"s": 70.732,
"l": 32.157
},
"oklch": {
"l": 0.40742,
"c": 0.12553,
"h": 258.5
},
"luminance": 0.06594
}Semantic roles & 50–950 ramp
primary
#18478C
secondary
#BF8C41
accent
#A53AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F