#28296E#28296E
#28296E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.117 H 277.1°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #28296E |
|---|---|
| RGB | rgb(40, 41, 110) |
| HSL | hsl(239, 47%, 29%) |
| HSV | hsv(239, 64%, 43%) |
| CMYK | cmyk(63.6%, 62.7%, 0%, 56.9%) |
| CIE-LAB | lab(20.68, 22.52, -40.33) |
| CIE-LCH | lch(20.68, 46.19, 299.18°) |
| OKLab | oklab(32.53% 0.0144 -0.1159) |
| OKLCH | oklch(32.53% 0.117 277.1) |
| XYZ | xyz(4.4816, 3.1624, 15.1231) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.91
Marine
#042E60
ΔE00 7.19
Darkslateblue
#483D8B
ΔE00 7.64
Navy Blue
#1B2A4A
ΔE00 8.20
Royal
#0C1793
ΔE00 8.30
Dark Indigo
#1F0954
ΔE00 8.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28296E #6E6D28
analogous
#284C6E #28296E #4A286E
triadic
#28296E #6E2829 #296E28
tetradic
#28296E #6E284C #6E6D28 #286E4A
square
#28296E #6E284C #6E6D28 #286E4A
split-complementary
#28296E #6E4A28 #4C6E28
monochromatic
#080816 #181841 #28296E #383A9B #5152C0
Accessibility & contrast
On white
12.86
#28296E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#28296E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28296E
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28296E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28296E | 1.00 | 12.86 | 1.63 | 12.86 |
| #FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #28296e; /* rgb */ color: rgb(40, 41, 110); /* oklch */ color: oklch(32.5% 0.117 277.1);
Tailwind
colors: {
custom: {
50: '#6a6298',
500: '#28296e',
950: '#000000',
},
}SCSS
$custom: #28296e; $custom-light: #6a6298; $custom-dark: #000000;
JSON
{
"hex": "#28296e",
"rgb": {
"r": 40,
"g": 41,
"b": 110
},
"hsl": {
"h": 239.143,
"s": 46.667,
"l": 29.412
},
"oklch": {
"l": 0.32534,
"c": 0.11683,
"h": 277.1
},
"luminance": 0.03163
}Semantic roles & 50–950 ramp
primary
#28296E
secondary
#A09F51
accent
#D451D6
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E