#28479E#28479E
#28479E is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.146 H 265.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #28479E |
|---|---|
| RGB | rgb(40, 71, 158) |
| HSL | hsl(224, 60%, 39%) |
| HSV | hsv(224, 75%, 62%) |
| CMYK | cmyk(74.7%, 55.1%, 0%, 38%) |
| CIE-LAB | lab(32.76, 20.23, -50.67) |
| CIE-LCH | lch(32.76, 54.55, 291.76°) |
| OKLab | oklab(42.77% -0.0111 -0.1459) |
| OKLCH | oklch(42.77% 0.146 265.7) |
| XYZ | xyz(9.2977, 7.4252, 33.2843) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.59
Cobalt (survey)
#1E488F
ΔE00 3.05
Sapphire
#0F52BA
ΔE00 5.19
Sapphire (survey)
#2138AB
ΔE00 5.48
Darkish Blue
#014182
ΔE00 5.64
Dusk Blue
#26538D
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28479E #9E7F28
analogous
#28829E #28479E #44289E
triadic
#28479E #9E2847 #479E28
tetradic
#28479E #9E2882 #9E7F28 #289E44
square
#28479E #9E2882 #9E7F28 #289E44
split-complementary
#28479E #9E4428 #829E28
monochromatic
#0F1B3C #1C316D #28479E #375ECC #6885D9
Accessibility & contrast
On white
8.45
#28479E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#28479E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28479E
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28479E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28479E | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #28479e; /* rgb */ color: rgb(40, 71, 158); /* oklch */ color: oklch(42.8% 0.146 265.7);
Tailwind
colors: {
custom: {
50: '#7379bb',
500: '#28479e',
950: '#000000',
},
}SCSS
$custom: #28479e; $custom-light: #7379bb; $custom-dark: #000000;
JSON
{
"hex": "#28479e",
"rgb": {
"r": 40,
"g": 71,
"b": 158
},
"hsl": {
"h": 224.237,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.42765,
"c": 0.14636,
"h": 265.7
},
"luminance": 0.07426
}Semantic roles & 50–950 ramp
primary
#28479E
secondary
#BFA763
accent
#B945E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81