#3f28dc
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 | #3f28dc | |
| RGB | rgb(63 40 220) | |
| HSL | hsl(247.67 72% 50.98%) | |
| OKLCH | oklch(0.45 0.25 275.53) | |
| CMYK | cmyk(71.36% 81.82% 0% 13.73%) | |
| Android | #ff3f28dc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.24:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.54: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="#3f28dc"
Gradient stop
<stop stop-color="#3f28dc"/>
CSS variable + fill
:root { --c: #3f28dc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3f28dc; background-color: #3f28dc; bg-[#3f28dc]