#28319F#28319F
#28319F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.175 H 271.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #28319F |
|---|---|
| RGB | rgb(40, 49, 159) |
| HSL | hsl(235, 60%, 39%) |
| HSV | hsv(235, 75%, 62%) |
| CMYK | cmyk(74.8%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(27.16, 35.17, -60.41) |
| CIE-LCH | lch(27.16, 69.90, 300.21°) |
| OKLab | oklab(38.65% 0.0044 -0.1748) |
| OKLCH | oklch(38.65% 0.175 271.5) |
| XYZ | xyz(8.2293, 5.1501, 33.3545) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.61
Blueberry
#464196
ΔE00 5.94
Royal
#0C1793
ΔE00 6.47
Indigo Blue
#3A18B1
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 6.64
Blue Blue
#2242C7
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28319F #9F9628
analogous
#286D9F #28319F #5B289F
triadic
#28319F #9F2831 #319F28
tetradic
#28319F #9F286D #9F9628 #289F5B
square
#28319F #9F286D #9F9628 #289F5B
split-complementary
#28319F #9F5B28 #6D9F28
monochromatic
#0F133D #1C226E #28319F #3743CD #6871D9
Accessibility & contrast
On white
10.34
#28319F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#28319F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28319F
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28319F | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #28319f; /* rgb */ color: rgb(40, 49, 159); /* oklch */ color: oklch(38.6% 0.175 271.5);
Tailwind
colors: {
custom: {
50: '#7569bc',
500: '#28319f',
950: '#000000',
},
}SCSS
$custom: #28319f; $custom-light: #7569bc; $custom-dark: #000000;
JSON
{
"hex": "#28319f",
"rgb": {
"r": 40,
"g": 49,
"b": 159
},
"hsl": {
"h": 235.462,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.38645,
"c": 0.17482,
"h": 271.5
},
"luminance": 0.05151
}Semantic roles & 50–950 ramp
primary
#28319F
secondary
#BFB864
accent
#D745E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81