#6261eb
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 | #6261eb | |
| RGB | rgb(98 97 235) | |
| HSL | hsl(240.43 77.53% 65.1%) | |
| OKLCH | oklch(0.57 0.2 278.17) | |
| CMYK | cmyk(58.3% 58.72% 0% 7.84%) | |
| Android | #ff6261eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.74:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.42:1
Fail AA normal text
Pass 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="#6261eb"
Gradient stop
<stop stop-color="#6261eb"/>
CSS variable + fill
:root { --c: #6261eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6261eb; background-color: #6261eb; bg-[#6261eb]