#18478F#18478F
#18478F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.0% C 0.130 H 259.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #18478F |
|---|---|
| RGB | rgb(24, 71, 143) |
| HSL | hsl(216, 71%, 33%) |
| HSV | hsv(216, 83%, 56%) |
| CMYK | cmyk(83.2%, 50.3%, 0%, 43.9%) |
| CIE-LAB | lab(31.07, 12.37, -44.29) |
| CIE-LCH | lch(31.07, 45.98, 285.61°) |
| OKLab | oklab(40.97% -0.0245 -0.1274) |
| OKLCH | oklch(40.97% 0.13 259.1) |
| XYZ | xyz(7.5860, 6.6829, 26.8714) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.55
Darkish Blue
#014182
ΔE00 2.73
Twilight Blue
#0A437A
ΔE00 3.41
Cobalt
#0047AB
ΔE00 3.72
Dusk Blue
#26538D
ΔE00 4.04
Prussian Blue
#004577
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18478F #8F6018
analogous
#18828F #18478F #25188F
triadic
#18478F #8F1847 #478F18
tetradic
#18478F #8F1882 #8F6018 #188F25
square
#18478F #8F1882 #8F6018 #188F25
split-complementary
#18478F #8F2518 #828F18
monochromatic
#061326 #0F2D5B #18478F #2161C3 #4280DF
Accessibility & contrast
On white
8.99
#18478F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#18478F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18478F
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18478F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18478F | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #18478f; /* rgb */ color: rgb(24, 71, 143); /* oklch */ color: oklch(41.0% 0.130 259.1);
Tailwind
colors: {
custom: {
50: '#6a79b0',
500: '#18478f',
950: '#000000',
},
}SCSS
$custom: #18478f; $custom-light: #6a79b0; $custom-dark: #000000;
JSON
{
"hex": "#18478f",
"rgb": {
"r": 24,
"g": 71,
"b": 143
},
"hsl": {
"h": 216.303,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.40972,
"c": 0.12977,
"h": 259.1
},
"luminance": 0.06684
}Semantic roles & 50–950 ramp
primary
#18478F
secondary
#C08F43
accent
#A73AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F