#28519F#28519F
#28519F is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.0% C 0.135 H 261.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #28519F |
|---|---|
| RGB | rgb(40, 81, 159) |
| HSL | hsl(219, 60%, 39%) |
| HSV | hsv(219, 75%, 62%) |
| CMYK | cmyk(74.8%, 49.1%, 0%, 37.6%) |
| CIE-LAB | lab(35.67, 13.90, -46.56) |
| CIE-LCH | lch(35.67, 48.59, 286.62°) |
| OKLab | oklab(45.01% -0.0194 -0.1337) |
| OKLCH | oklch(45.01% 0.135 261.8) |
| XYZ | xyz(10.0733, 8.8381, 33.9692) |
| Luminance | 0.0884 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.94
Sapphire
#0F52BA
ΔE00 3.39
Cobalt (survey)
#1E488F
ΔE00 3.41
Cobalt
#0047AB
ΔE00 3.75
Denim Blue
#3B5B92
ΔE00 3.96
Light Navy Blue
#2E5A88
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28519F #9F7628
analogous
#288D9F #28519F #3B289F
triadic
#28519F #9F2851 #519F28
tetradic
#28519F #9F288D #9F7628 #289F3B
square
#28519F #9F288D #9F7628 #289F3B
split-complementary
#28519F #9F3B28 #8D9F28
monochromatic
#0F1F3D #1C386E #28519F #376BCD #688FD9
Accessibility & contrast
On white
7.59
#28519F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#28519F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28519F
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28519F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28519F | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255AA2
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #28519f; /* rgb */ color: rgb(40, 81, 159); /* oklch */ color: oklch(45.0% 0.135 261.8);
Tailwind
colors: {
custom: {
50: '#7381bc',
500: '#28519f',
950: '#000000',
},
}SCSS
$custom: #28519f; $custom-light: #7381bc; $custom-dark: #000000;
JSON
{
"hex": "#28519f",
"rgb": {
"r": 40,
"g": 81,
"b": 159
},
"hsl": {
"h": 219.328,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.45006,
"c": 0.13507,
"h": 261.8
},
"luminance": 0.08839
}Semantic roles & 50–950 ramp
primary
#28519F
secondary
#BFA064
accent
#AC45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81