#28429F#28429F
#28429F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.154 H 267.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #28429F |
|---|---|
| RGB | rgb(40, 66, 159) |
| HSL | hsl(227, 60%, 39%) |
| HSV | hsv(227, 75%, 62%) |
| CMYK | cmyk(74.8%, 58.5%, 0%, 37.6%) |
| CIE-LAB | lab(31.46, 23.98, -53.37) |
| CIE-LCH | lch(31.46, 58.51, 294.20°) |
| OKLab | oklab(41.82% -0.0071 -0.154) |
| OKLCH | oklch(41.82% 0.154 267.4) |
| XYZ | xyz(9.0791, 6.8498, 33.6378) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.42
Sapphire (survey)
#2138AB
ΔE00 3.80
Cobalt (survey)
#1E488F
ΔE00 4.37
Blueberry
#464196
ΔE00 5.06
Blue Blue
#2242C7
ΔE00 5.52
Darkish Blue
#014182
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28429F #9F8528
analogous
#287E9F #28429F #4A289F
triadic
#28429F #9F2842 #429F28
tetradic
#28429F #9F287E #9F8528 #289F4A
square
#28429F #9F287E #9F8528 #289F4A
split-complementary
#28429F #9F4A28 #7E9F28
monochromatic
#0F193D #1C2E6E #28429F #3758CD #6881D9
Accessibility & contrast
On white
8.86
#28429F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#28429F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28429F
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28429F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28429F | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #28429f; /* rgb */ color: rgb(40, 66, 159); /* oklch */ color: oklch(41.8% 0.154 267.4);
Tailwind
colors: {
custom: {
50: '#7476bc',
500: '#28429f',
950: '#000000',
},
}SCSS
$custom: #28429f; $custom-light: #7476bc; $custom-dark: #000000;
JSON
{
"hex": "#28429f",
"rgb": {
"r": 40,
"g": 66,
"b": 159
},
"hsl": {
"h": 226.891,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.41817,
"c": 0.15413,
"h": 267.4
},
"luminance": 0.06851
}Semantic roles & 50–950 ramp
primary
#28429F
secondary
#BFAB64
accent
#C045E3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81