#281e6c
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 | #281e6c | |
| RGB | rgb(40 30 108) | |
| HSL | hsl(247.69 56.52% 27.06%) | |
| OKLCH | oklch(0.3 0.13 281.3) | |
| CMYK | cmyk(62.96% 72.22% 0% 57.65%) | |
| Android | #ff281e6c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.07:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.49: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="#281e6c"
Gradient stop
<stop stop-color="#281e6c"/>
CSS variable + fill
:root { --c: #281e6c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #281e6c; background-color: #281e6c; bg-[#281e6c]