#28329C#28329C
#28329C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.170 H 271.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #28329C |
|---|---|
| RGB | rgb(40, 50, 156) |
| HSL | hsl(235, 59%, 38%) |
| HSV | hsv(235, 74%, 61%) |
| CMYK | cmyk(74.4%, 67.9%, 0%, 38.8%) |
| CIE-LAB | lab(27.11, 33.45, -58.67) |
| CIE-LCH | lch(27.11, 67.53, 299.69°) |
| OKLab | oklab(38.52% 0.0041 -0.1697) |
| OKLCH | oklch(38.52% 0.17 271.4) |
| XYZ | xyz(8.0144, 5.1318, 32.0142) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.67
Blueberry
#464196
ΔE00 5.66
Darkslateblue
#483D8B
ΔE00 6.34
Royal
#0C1793
ΔE00 6.70
Indigo Blue
#3A18B1
ΔE00 6.99
Blue Blue
#2242C7
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28329C #9C9228
analogous
#286C9C #28329C #58289C
triadic
#28329C #9C2832 #329C28
tetradic
#28329C #9C286C #9C9228 #289C58
square
#28329C #9C286C #9C9228 #289C58
split-complementary
#28329C #9C5828 #6C9C28
monochromatic
#0F133B #1C226B #28329C #3643CB #6770D8
Accessibility & contrast
On white
10.36
#28329C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#28329C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28329C
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28329C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28329C | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #28329c; /* rgb */ color: rgb(40, 50, 156); /* oklch */ color: oklch(38.5% 0.170 271.4);
Tailwind
colors: {
custom: {
50: '#746aba',
500: '#28329c',
950: '#000000',
},
}SCSS
$custom: #28329c; $custom-light: #746aba; $custom-dark: #000000;
JSON
{
"hex": "#28329c",
"rgb": {
"r": 40,
"g": 50,
"b": 156
},
"hsl": {
"h": 234.828,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.3852,
"c": 0.16971,
"h": 271.4
},
"luminance": 0.05133
}Semantic roles & 50–950 ramp
primary
#28329C
secondary
#BEB662
accent
#D545E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81