#28199C#28199C
#28199C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 35.0% C 0.194 H 274.7°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #28199C |
|---|---|
| RGB | rgb(40, 25, 156) |
| HSL | hsl(247, 72%, 35%) |
| HSV | hsv(247, 84%, 61%) |
| CMYK | cmyk(74.4%, 84%, 0%, 38.8%) |
| CIE-LAB | lab(22.11, 47.50, -66.92) |
| CIE-LCH | lch(22.11, 82.06, 305.37°) |
| OKLab | oklab(34.98% 0.016 -0.1935) |
| OKLCH | oklch(34.98% 0.194 274.7) |
| XYZ | xyz(7.2215, 3.5460, 31.7499) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.44
Cobalt Blue
#030AA7
ΔE00 2.84
Royal Blue (survey)
#0504AA
ΔE00 3.29
Indigo Blue
#3A18B1
ΔE00 3.52
Ultramarine
#2000B1
ΔE00 3.59
Darkblue
#00008B
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28199C #8D9C19
analogous
#194C9C #28199C #69199C
triadic
#28199C #9C2819 #199C28
tetradic
#28199C #9C194C #8D9C19 #199C69
square
#28199C #9C194C #8D9C19 #199C69
split-complementary
#28199C #9C6919 #4C9C19
monochromatic
#0D0833 #1A1167 #28199C #3621D1 #5E4DE2
Accessibility & contrast
On white
12.29
#28199C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#28199C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28199C
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28199C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28199C | 1.00 | 12.29 | 1.71 | 12.29 |
| #FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA0
Deuteranopia (green-blind)
#002F9A
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #28199c; /* rgb */ color: rgb(40, 25, 156); /* oklch */ color: oklch(35.0% 0.194 274.7);
Tailwind
colors: {
custom: {
50: '#765bbb',
500: '#28199c',
950: '#000000',
},
}SCSS
$custom: #28199c; $custom-light: #765bbb; $custom-dark: #000000;
JSON
{
"hex": "#28199c",
"rgb": {
"r": 40,
"g": 25,
"b": 156
},
"hsl": {
"h": 246.87,
"s": 72.376,
"l": 35.49
},
"oklch": {
"l": 0.34975,
"c": 0.19413,
"h": 274.7
},
"luminance": 0.03547
}Semantic roles & 50–950 ramp
primary
#28199C
secondary
#B7C44C
accent
#EF39DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981