#28428F#28428F
#28428F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.131 H 266.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #28428F |
|---|---|
| RGB | rgb(40, 66, 143) |
| HSL | hsl(225, 56%, 36%) |
| HSV | hsv(225, 72%, 56%) |
| CMYK | cmyk(72%, 53.8%, 0%, 43.9%) |
| CIE-LAB | lab(30.23, 17.82, -45.62) |
| CIE-LCH | lch(30.23, 48.98, 291.34°) |
| OKLab | oklab(40.5% -0.0081 -0.1312) |
| OKLCH | oklch(40.5% 0.131 266.5) |
| XYZ | xyz(7.7795, 6.3299, 26.7931) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.06
Cobalt
#0047AB
ΔE00 4.50
Darkish Blue
#014182
ΔE00 4.59
Twilight Blue
#0A437A
ΔE00 5.55
Blueberry
#464196
ΔE00 5.62
Sapphire (survey)
#2138AB
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28428F #8F7528
analogous
#28758F #28428F #41288F
triadic
#28428F #8F2842 #428F28
tetradic
#28428F #8F2875 #8F7528 #288F41
square
#28428F #8F2875 #8F7528 #288F41
split-complementary
#28428F #8F4128 #758F28
monochromatic
#0D162F #1B2C5F #28428F #3558BF #5F7CD2
Accessibility & contrast
On white
9.27
#28428F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#28428F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28428F
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28428F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28428F | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E4C92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #28428f; /* rgb */ color: rgb(40, 66, 143); /* oklch */ color: oklch(40.5% 0.131 266.5);
Tailwind
colors: {
custom: {
50: '#7075b0',
500: '#28428f',
950: '#000000',
},
}SCSS
$custom: #28428f; $custom-light: #7075b0; $custom-dark: #000000;
JSON
{
"hex": "#28428f",
"rgb": {
"r": 40,
"g": 66,
"b": 143
},
"hsl": {
"h": 224.854,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.40501,
"c": 0.13143,
"h": 266.5
},
"luminance": 0.06331
}Semantic roles & 50–950 ramp
primary
#28428F
secondary
#B8A05B
accent
#B948E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80