#18479B#18479B
#18479B is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.147 H 261.0°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #18479B |
|---|---|
| RGB | rgb(24, 71, 155) |
| HSL | hsl(218, 73%, 35%) |
| HSV | hsv(218, 85%, 61%) |
| CMYK | cmyk(84.5%, 54.2%, 0%, 39.2%) |
| CIE-LAB | lab(31.96, 17.27, -50.17) |
| CIE-LCH | lch(31.96, 53.06, 288.99°) |
| OKLab | oklab(41.93% -0.0229 -0.1447) |
| OKLCH | oklch(41.93% 0.147 261) |
| XYZ | xyz(8.5442, 7.0662, 31.9176) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.74
Cobalt
#0047AB
ΔE00 2.10
Darkish Blue
#014182
ΔE00 4.17
Dusk Blue
#26538D
ΔE00 4.70
Twilight Blue
#0A437A
ΔE00 5.02
Sapphire
#0F52BA
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18479B #9B6C18
analogous
#18899B #18479B #2A189B
triadic
#18479B #9B1847 #479B18
tetradic
#18479B #9B1889 #9B6C18 #189B2A
square
#18479B #9B1889 #9B6C18 #189B2A
split-complementary
#18479B #9B2A18 #899B18
monochromatic
#081631 #102F66 #18479B #205FD0 #4A81E3
Accessibility & contrast
On white
8.70
#18479B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#18479B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18479B
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18479B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18479B | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#02519E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #18479b; /* rgb */ color: rgb(24, 71, 155); /* oklch */ color: oklch(41.9% 0.147 261.0);
Tailwind
colors: {
custom: {
50: '#6d79b9',
500: '#18479b',
950: '#000000',
},
}SCSS
$custom: #18479b; $custom-light: #6d79b9; $custom-dark: #000000;
JSON
{
"hex": "#18479b",
"rgb": {
"r": 24,
"g": 71,
"b": 155
},
"hsl": {
"h": 218.473,
"s": 73.184,
"l": 35.098
},
"oklch": {
"l": 0.41928,
"c": 0.14655,
"h": 261
},
"luminance": 0.07067
}Semantic roles & 50–950 ramp
primary
#18479B
secondary
#C5994A
accent
#AE38F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80