#261f6a
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 | #261f6a | |
| RGB | rgb(38 31 106) | |
| HSL | hsl(245.6 54.74% 26.86%) | |
| OKLCH | oklch(0.3 0.13 279.99) | |
| CMYK | cmyk(64.15% 70.75% 0% 58.43%) | |
| Android | #ff261f6a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.12:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.48: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="#261f6a"
Gradient stop
<stop stop-color="#261f6a"/>
CSS variable + fill
:root { --c: #261f6a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #261f6a; background-color: #261f6a; bg-[#261f6a]