#28409F#28409F
#28409F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.157 H 268.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #28409F |
|---|---|
| RGB | rgb(40, 64, 159) |
| HSL | hsl(228, 60%, 39%) |
| HSV | hsv(228, 75%, 62%) |
| CMYK | cmyk(74.8%, 59.7%, 0%, 37.6%) |
| CIE-LAB | lab(30.93, 25.33, -54.24) |
| CIE-LCH | lch(30.93, 59.87, 295.03°) |
| OKLab | oklab(41.42% -0.0056 -0.1566) |
| OKLCH | oklch(41.42% 0.157 268) |
| XYZ | xyz(8.9643, 6.6202, 33.5995) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.21
Cobalt
#0047AB
ΔE00 3.92
Blueberry
#464196
ΔE00 4.84
Cobalt (survey)
#1E488F
ΔE00 4.93
Blue Blue
#2242C7
ΔE00 5.46
Darkslateblue
#483D8B
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28409F #9F8728
analogous
#287C9F #28409F #4C289F
triadic
#28409F #9F2840 #409F28
tetradic
#28409F #9F287C #9F8728 #289F4C
square
#28409F #9F287C #9F8728 #289F4C
split-complementary
#28409F #9F4C28 #7C9F28
monochromatic
#0F193D #1C2C6E #28409F #3756CD #687FD9
Accessibility & contrast
On white
9.04
#28409F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#28409F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28409F
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28409F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28409F | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #28409f; /* rgb */ color: rgb(40, 64, 159); /* oklch */ color: oklch(41.4% 0.157 268.0);
Tailwind
colors: {
custom: {
50: '#7474bc',
500: '#28409f',
950: '#000000',
},
}SCSS
$custom: #28409f; $custom-light: #7474bc; $custom-dark: #000000;
JSON
{
"hex": "#28409f",
"rgb": {
"r": 40,
"g": 64,
"b": 159
},
"hsl": {
"h": 227.899,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.41416,
"c": 0.15667,
"h": 268
},
"luminance": 0.06621
}Semantic roles & 50–950 ramp
primary
#28409F
secondary
#BFAD64
accent
#C345E3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81