#281fca
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 | #281fca | |
| RGB | rgb(40 31 202) | |
| HSL | hsl(243.16 73.39% 45.69%) | |
| OKLCH | oklch(0.41 0.24 270.61) | |
| CMYK | cmyk(80.2% 84.65% 0% 20.78%) | |
| Android | #ff281fca |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.81:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.13: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="#281fca"
Gradient stop
<stop stop-color="#281fca"/>
CSS variable + fill
:root { --c: #281fca; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #281fca; background-color: #281fca; bg-[#281fca]