#28309E#28309E
#28309E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.175 H 271.7°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #28309E |
|---|---|
| RGB | rgb(40, 48, 158) |
| HSL | hsl(236, 60%, 39%) |
| HSV | hsv(236, 75%, 62%) |
| CMYK | cmyk(74.7%, 69.6%, 0%, 38%) |
| CIE-LAB | lab(26.83, 35.44, -60.35) |
| CIE-LCH | lch(26.83, 69.98, 300.43°) |
| OKLab | oklab(38.38% 0.0051 -0.1746) |
| OKLCH | oklch(38.38% 0.175 271.7) |
| XYZ | xyz(8.1015, 5.0328, 32.8856) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.90
Blueberry
#464196
ΔE00 6.09
Royal
#0C1793
ΔE00 6.18
Indigo Blue
#3A18B1
ΔE00 6.30
Darkslateblue
#483D8B
ΔE00 6.69
Ocean Blue
#4F42B5
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28309E #9E9628
analogous
#286B9E #28309E #5B289E
triadic
#28309E #9E2830 #309E28
tetradic
#28309E #9E286B #9E9628 #289E5B
square
#28309E #9E286B #9E9628 #289E5B
split-complementary
#28309E #9E5B28 #6B9E28
monochromatic
#0F123C #1C216D #28309E #3741CC #686FD9
Accessibility & contrast
On white
10.46
#28309E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#28309E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28309E
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28309E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28309E | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #28309e; /* rgb */ color: rgb(40, 48, 158); /* oklch */ color: oklch(38.4% 0.175 271.7);
Tailwind
colors: {
custom: {
50: '#7569bc',
500: '#28309e',
950: '#000000',
},
}SCSS
$custom: #28309e; $custom-light: #7569bc; $custom-dark: #000000;
JSON
{
"hex": "#28309e",
"rgb": {
"r": 40,
"g": 48,
"b": 158
},
"hsl": {
"h": 235.932,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.38377,
"c": 0.17465,
"h": 271.7
},
"luminance": 0.05034
}Semantic roles & 50–950 ramp
primary
#28309E
secondary
#BFB963
accent
#D845E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81