#15479E#15479E
#15479E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.151 H 260.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #15479E |
|---|---|
| RGB | rgb(21, 71, 158) |
| HSL | hsl(218, 77%, 35%) |
| HSV | hsv(218, 87%, 62%) |
| CMYK | cmyk(86.7%, 55.1%, 0%, 38%) |
| CIE-LAB | lab(32.11, 18.25, -51.75) |
| CIE-LCH | lch(32.11, 54.87, 289.42°) |
| OKLab | oklab(42.09% -0.0242 -0.1494) |
| OKLCH | oklch(42.09% 0.151 260.8) |
| XYZ | xyz(8.7318, 7.1334, 33.2578) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.70
Cobalt (survey)
#1E488F
ΔE00 2.12
Darkish Blue
#014182
ΔE00 4.44
Sapphire
#0F52BA
ΔE00 4.76
Dusk Blue
#26538D
ΔE00 4.85
Twilight Blue
#0A437A
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15479E #9E6C15
analogous
#158C9E #15479E #27159E
triadic
#15479E #9E1547 #479E15
tetradic
#15479E #9E158C #9E6C15 #159E27
square
#15479E #9E158C #9E6C15 #159E27
split-complementary
#15479E #9E2715 #8C9E15
monochromatic
#071632 #0E2F68 #15479E #1C5FD4 #4781E7
Accessibility & contrast
On white
8.65
#15479E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#15479E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15479E
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15479E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15479E | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #15479e; /* rgb */ color: rgb(21, 71, 158); /* oklch */ color: oklch(42.1% 0.151 260.8);
Tailwind
colors: {
custom: {
50: '#6d79bb',
500: '#15479e',
950: '#000000',
},
}SCSS
$custom: #15479e; $custom-light: #6d79bb; $custom-dark: #000000;
JSON
{
"hex": "#15479e",
"rgb": {
"r": 21,
"g": 71,
"b": 158
},
"hsl": {
"h": 218.102,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.42093,
"c": 0.15136,
"h": 260.8
},
"luminance": 0.07135
}Semantic roles & 50–950 ramp
primary
#15479E
secondary
#C79947
accent
#AE35F3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080912
muted
#7B7B81