#18479F#18479F
#18479F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.152 H 261.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #18479F |
|---|---|
| RGB | rgb(24, 71, 159) |
| HSL | hsl(219, 74%, 36%) |
| HSV | hsv(219, 85%, 62%) |
| CMYK | cmyk(84.9%, 55.3%, 0%, 37.6%) |
| CIE-LAB | lab(32.26, 18.89, -52.09) |
| CIE-LCH | lch(32.26, 55.41, 289.93°) |
| OKLab | oklab(42.26% -0.0225 -0.1504) |
| OKLCH | oklch(42.26% 0.152 261.5) |
| XYZ | xyz(8.8857, 7.2028, 33.7161) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.61
Cobalt (survey)
#1E488F
ΔE00 2.32
Darkish Blue
#014182
ΔE00 4.70
Sapphire
#0F52BA
ΔE00 4.70
Dusk Blue
#26538D
ΔE00 5.01
Twilight Blue
#0A437A
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18479F #9F7018
analogous
#188A9F #18479F #2C189F
triadic
#18479F #9F1847 #479F18
tetradic
#18479F #9F188A #9F7018 #189F2C
square
#18479F #9F188A #9F7018 #189F2C
split-complementary
#18479F #9F2C18 #8A9F18
monochromatic
#081835 #102F6A #18479F #205FD4 #4D82E4
Accessibility & contrast
On white
8.60
#18479F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#18479F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18479F
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18479F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18479F | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #18479f; /* rgb */ color: rgb(24, 71, 159); /* oklch */ color: oklch(42.3% 0.152 261.5);
Tailwind
colors: {
custom: {
50: '#6e79bc',
500: '#18479f',
950: '#000000',
},
}SCSS
$custom: #18479f; $custom-light: #6e79bc; $custom-dark: #000000;
JSON
{
"hex": "#18479f",
"rgb": {
"r": 24,
"g": 71,
"b": 159
},
"hsl": {
"h": 219.111,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.42258,
"c": 0.15206,
"h": 261.5
},
"luminance": 0.07204
}Semantic roles & 50–950 ramp
primary
#18479F
secondary
#C69C4D
accent
#B037F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81