#28299C#28299C
#28299C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.180 H 273.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #28299C |
|---|---|
| RGB | rgb(40, 41, 156) |
| HSL | hsl(239, 59%, 38%) |
| HSV | hsv(239, 74%, 61%) |
| CMYK | cmyk(74.4%, 73.7%, 0%, 38.8%) |
| CIE-LAB | lab(25.07, 39.03, -62.03) |
| CIE-LCH | lch(25.07, 73.29, 302.18°) |
| OKLab | oklab(37.05% 0.0093 -0.1795) |
| OKLCH | oklch(37.05% 0.18 273) |
| XYZ | xyz(7.6667, 4.4365, 31.8983) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.45
Sapphire (survey)
#2138AB
ΔE00 4.63
Indigo Blue
#3A18B1
ΔE00 4.97
Cobalt Blue
#030AA7
ΔE00 5.79
Royal Blue (survey)
#0504AA
ΔE00 6.31
Ultramarine
#2000B1
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28299C #9C9B28
analogous
#28639C #28299C #61289C
triadic
#28299C #9C2829 #299C28
tetradic
#28299C #9C2863 #9C9B28 #289C61
square
#28299C #9C2863 #9C9B28 #289C61
split-complementary
#28299C #9C6128 #639C28
monochromatic
#0F0F3B #1C1C6B #28299C #3637CB #6767D8
Accessibility & contrast
On white
11.13
#28299C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#28299C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28299C
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28299C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28299C | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #28299c; /* rgb */ color: rgb(40, 41, 156); /* oklch */ color: oklch(37.0% 0.180 273.0);
Tailwind
colors: {
custom: {
50: '#7564ba',
500: '#28299c',
950: '#000000',
},
}SCSS
$custom: #28299c; $custom-light: #7564ba; $custom-dark: #000000;
JSON
{
"hex": "#28299c",
"rgb": {
"r": 40,
"g": 41,
"b": 156
},
"hsl": {
"h": 239.483,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.37049,
"c": 0.17971,
"h": 273
},
"luminance": 0.04437
}Semantic roles & 50–950 ramp
primary
#28299C
secondary
#BEBD62
accent
#E145E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81