#28328F#28328F
#28328F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.152 H 271.9°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #28328F |
|---|---|
| RGB | rgb(40, 50, 143) |
| HSL | hsl(234, 56%, 36%) |
| HSV | hsv(234, 72%, 56%) |
| CMYK | cmyk(72%, 65%, 0%, 43.9%) |
| CIE-LAB | lab(25.91, 28.67, -52.66) |
| CIE-LCH | lch(25.91, 59.96, 298.57°) |
| OKLab | oklab(37.28% 0.0051 -0.1521) |
| OKLCH | oklch(37.28% 0.152 271.9) |
| XYZ | xyz(6.9719, 4.7148, 26.5239) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.23
Blueberry
#464196
ΔE00 5.56
Darkslateblue
#483D8B
ΔE00 5.73
Royal
#0C1793
ΔE00 6.99
Midnight Blue
#191970
ΔE00 7.67
Cobalt
#0047AB
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28328F #8F8528
analogous
#28658F #28328F #51288F
triadic
#28328F #8F2832 #328F28
tetradic
#28328F #8F2865 #8F8528 #288F51
square
#28328F #8F2865 #8F8528 #288F51
split-complementary
#28328F #8F5128 #658F28
monochromatic
#0D112F #1B215F #28328F #3543BF #5F6AD2
Accessibility & contrast
On white
10.81
#28328F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#28328F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28328F
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28328F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28328F | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #28328f; /* rgb */ color: rgb(40, 50, 143); /* oklch */ color: oklch(37.3% 0.152 271.9);
Tailwind
colors: {
custom: {
50: '#716ab1',
500: '#28328f',
950: '#000000',
},
}SCSS
$custom: #28328f; $custom-light: #716ab1; $custom-dark: #000000;
JSON
{
"hex": "#28328f",
"rgb": {
"r": 40,
"g": 50,
"b": 143
},
"hsl": {
"h": 234.175,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.37275,
"c": 0.15215,
"h": 271.9
},
"luminance": 0.04715
}Semantic roles & 50–950 ramp
primary
#28328F
secondary
#B8AF5B
accent
#D148E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80