#28299E#28299E
#28299E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.182 H 272.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #28299E |
|---|---|
| RGB | rgb(40, 41, 158) |
| HSL | hsl(239, 60%, 39%) |
| HSV | hsv(239, 75%, 62%) |
| CMYK | cmyk(74.7%, 74.1%, 0%, 38%) |
| CIE-LAB | lab(25.27, 39.72, -62.90) |
| CIE-LCH | lch(25.27, 74.40, 302.27°) |
| OKLab | oklab(37.26% 0.0089 -0.182) |
| OKLCH | oklch(37.26% 0.182 272.8) |
| XYZ | xyz(7.8375, 4.5048, 32.7976) |
| Luminance | 0.0451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.53
Sapphire (survey)
#2138AB
ΔE00 4.53
Indigo Blue
#3A18B1
ΔE00 4.78
Cobalt Blue
#030AA7
ΔE00 5.71
Royal Blue (survey)
#0504AA
ΔE00 6.22
Ultramarine
#2000B1
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28299E #9E9D28
analogous
#28649E #28299E #62289E
triadic
#28299E #9E2829 #299E28
tetradic
#28299E #9E2864 #9E9D28 #289E62
square
#28299E #9E2864 #9E9D28 #289E62
split-complementary
#28299E #9E6228 #649E28
monochromatic
#0F103C #1C1C6D #28299E #3738CC #6869D9
Accessibility & contrast
On white
11.05
#28299E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#28299E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28299E
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28299E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28299E | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #28299e; /* rgb */ color: rgb(40, 41, 158); /* oklch */ color: oklch(37.3% 0.182 272.8);
Tailwind
colors: {
custom: {
50: '#7564bc',
500: '#28299e',
950: '#000000',
},
}SCSS
$custom: #28299e; $custom-light: #7564bc; $custom-dark: #000000;
JSON
{
"hex": "#28299e",
"rgb": {
"r": 40,
"g": 41,
"b": 158
},
"hsl": {
"h": 239.492,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.37261,
"c": 0.18223,
"h": 272.8
},
"luminance": 0.04506
}Semantic roles & 50–950 ramp
primary
#28299E
secondary
#BFBE63
accent
#E145E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81