#28409C#28409C
#28409C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.152 H 267.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #28409C |
|---|---|
| RGB | rgb(40, 64, 156) |
| HSL | hsl(228, 59%, 38%) |
| HSV | hsv(228, 74%, 61%) |
| CMYK | cmyk(74.4%, 59%, 0%, 38.8%) |
| CIE-LAB | lab(30.68, 24.18, -52.82) |
| CIE-LCH | lch(30.68, 58.10, 294.60°) |
| OKLab | oklab(41.16% -0.0056 -0.1524) |
| OKLCH | oklch(41.16% 0.153 267.9) |
| XYZ | xyz(8.7071, 6.5173, 32.2451) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.55
Cobalt
#0047AB
ΔE00 4.00
Cobalt (survey)
#1E488F
ΔE00 4.65
Blueberry
#464196
ΔE00 4.83
Blue Blue
#2242C7
ΔE00 5.90
Darkish Blue
#014182
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28409C #9C8428
analogous
#287A9C #28409C #4A289C
triadic
#28409C #9C2840 #409C28
tetradic
#28409C #9C287A #9C8428 #289C4A
square
#28409C #9C287A #9C8428 #289C4A
split-complementary
#28409C #9C4A28 #7A9C28
monochromatic
#0F183B #1C2C6B #28409C #3655CB #677ED8
Accessibility & contrast
On white
9.12
#28409C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#28409C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28409C
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28409C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28409C | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #28409c; /* rgb */ color: rgb(40, 64, 156); /* oklch */ color: oklch(41.2% 0.152 267.9);
Tailwind
colors: {
custom: {
50: '#7374ba',
500: '#28409c',
950: '#000000',
},
}SCSS
$custom: #28409c; $custom-light: #7374ba; $custom-dark: #000000;
JSON
{
"hex": "#28409c",
"rgb": {
"r": 40,
"g": 64,
"b": 156
},
"hsl": {
"h": 227.586,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.41158,
"c": 0.1525,
"h": 267.9
},
"luminance": 0.06518
}Semantic roles & 50–950 ramp
primary
#28409C
secondary
#BEAB62
accent
#C245E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81