#28048a
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #28048a | |
| RGB | rgb(40 4 138) | |
| HSL | hsl(256.12 94.37% 27.84%) | |
| OKLCH | oklch(0.31 0.19 278.67) | |
| CMYK | cmyk(71.01% 97.1% 0% 45.88%) | |
| Android | #ff28048a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.24:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.47:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#28048a"
Gradient stop
<stop stop-color="#28048a"/>
CSS variable + fill
:root { --c: #28048a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #28048a; background-color: #28048a; bg-[#28048a]