#28419F#28419F
#28419F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.155 H 267.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #28419F |
|---|---|
| RGB | rgb(40, 65, 159) |
| HSL | hsl(227, 60%, 39%) |
| HSV | hsv(227, 75%, 62%) |
| CMYK | cmyk(74.8%, 59.1%, 0%, 37.6%) |
| CIE-LAB | lab(31.19, 24.66, -53.81) |
| CIE-LCH | lch(31.19, 59.19, 294.62°) |
| OKLab | oklab(41.62% -0.0063 -0.1553) |
| OKLCH | oklch(41.62% 0.155 267.7) |
| XYZ | xyz(9.0212, 6.7339, 33.6185) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.50
Cobalt
#0047AB
ΔE00 3.67
Cobalt (survey)
#1E488F
ΔE00 4.65
Blueberry
#464196
ΔE00 4.94
Blue Blue
#2242C7
ΔE00 5.48
Darkish Blue
#014182
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28419F #9F8628
analogous
#287D9F #28419F #4B289F
triadic
#28419F #9F2841 #419F28
tetradic
#28419F #9F287D #9F8628 #289F4B
square
#28419F #9F287D #9F8628 #289F4B
split-complementary
#28419F #9F4B28 #7D9F28
monochromatic
#0F193D #1C2D6E #28419F #3757CD #6880D9
Accessibility & contrast
On white
8.95
#28419F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#28419F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28419F
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28419F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28419F | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #28419f; /* rgb */ color: rgb(40, 65, 159); /* oklch */ color: oklch(41.6% 0.155 267.7);
Tailwind
colors: {
custom: {
50: '#7475bc',
500: '#28419f',
950: '#000000',
},
}SCSS
$custom: #28419f; $custom-light: #7475bc; $custom-dark: #000000;
JSON
{
"hex": "#28419f",
"rgb": {
"r": 40,
"g": 65,
"b": 159
},
"hsl": {
"h": 227.395,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.41616,
"c": 0.1554,
"h": 267.7
},
"luminance": 0.06735
}Semantic roles & 50–950 ramp
primary
#28419F
secondary
#BFAC64
accent
#C245E3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81