#18478B#18478B
#18478B is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.7% C 0.124 H 258.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #18478B |
|---|---|
| RGB | rgb(24, 71, 139) |
| HSL | hsl(215, 71%, 32%) |
| HSV | hsv(215, 83%, 55%) |
| CMYK | cmyk(82.7%, 48.9%, 0%, 45.5%) |
| CIE-LAB | lab(30.79, 10.73, -42.29) |
| CIE-LCH | lch(30.79, 43.63, 284.24°) |
| OKLab | oklab(40.67% -0.0252 -0.1215) |
| OKLCH | oklch(40.67% 0.124 258.3) |
| XYZ | xyz(7.2884, 6.5639, 25.3039) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.91
Darkish Blue
#014182
ΔE00 2.36
Twilight Blue
#0A437A
ΔE00 2.89
Dusk Blue
#26538D
ΔE00 3.94
Prussian Blue
#004577
ΔE00 4.03
Cobalt
#0047AB
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18478B #8B5C18
analogous
#18818B #18478B #22188B
triadic
#18478B #8B1847 #478B18
tetradic
#18478B #8B1881 #8B5C18 #188B22
square
#18478B #8B1881 #8B5C18 #188B22
split-complementary
#18478B #8B2218 #818B18
monochromatic
#061223 #0F2C57 #18478B #2162BF #3F80DE
Accessibility & contrast
On white
9.08
#18478B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#18478B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18478B
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18478B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18478B | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204E8E
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #18478b; /* rgb */ color: rgb(24, 71, 139); /* oklch */ color: oklch(40.7% 0.124 258.3);
Tailwind
colors: {
custom: {
50: '#6979ad',
500: '#18478b',
950: '#000000',
},
}SCSS
$custom: #18478b; $custom-light: #6979ad; $custom-dark: #000000;
JSON
{
"hex": "#18478b",
"rgb": {
"r": 24,
"g": 71,
"b": 139
},
"hsl": {
"h": 215.478,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.40666,
"c": 0.12412,
"h": 258.3
},
"luminance": 0.06565
}Semantic roles & 50–950 ramp
primary
#18478B
secondary
#BE8B40
accent
#A43AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F