#28579F#28579F
#28579F is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.4% C 0.128 H 258.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #28579F |
|---|---|
| RGB | rgb(40, 87, 159) |
| HSL | hsl(216, 60%, 39%) |
| HSV | hsv(216, 75%, 62%) |
| CMYK | cmyk(74.8%, 45.3%, 0%, 37.6%) |
| CIE-LAB | lab(37.43, 9.93, -43.74) |
| CIE-LCH | lch(37.43, 44.85, 282.79°) |
| OKLab | oklab(46.36% -0.0247 -0.1253) |
| OKLCH | oklch(46.36% 0.128 258.8) |
| XYZ | xyz(10.5390, 9.7695, 34.1244) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.54
Denim Blue
#3B5B92
ΔE00 2.85
Light Navy Blue
#2E5A88
ΔE00 3.35
Sapphire
#0F52BA
ΔE00 3.78
Denim
#1560BD
ΔE00 4.56
Light Navy
#155084
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28579F #9F7028
analogous
#28939F #28579F #35289F
triadic
#28579F #9F2857 #579F28
tetradic
#28579F #9F2893 #9F7028 #289F35
square
#28579F #9F2893 #9F7028 #289F35
split-complementary
#28579F #9F3528 #939F28
monochromatic
#0F213D #1C3C6E #28579F #3772CD #6895D9
Accessibility & contrast
On white
7.11
#28579F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#28579F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28579F
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28579F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28579F | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#335EA2
Deuteranopia (green-blind)
#1B539E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #28579f; /* rgb */ color: rgb(40, 87, 159); /* oklch */ color: oklch(46.4% 0.128 258.8);
Tailwind
colors: {
custom: {
50: '#7285bc',
500: '#28579f',
950: '#000000',
},
}SCSS
$custom: #28579f; $custom-light: #7285bc; $custom-dark: #000000;
JSON
{
"hex": "#28579f",
"rgb": {
"r": 40,
"g": 87,
"b": 159
},
"hsl": {
"h": 216.303,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.46355,
"c": 0.12769,
"h": 258.8
},
"luminance": 0.09771
}Semantic roles & 50–950 ramp
primary
#28579F
secondary
#BF9B64
accent
#A545E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81