#334ffc
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 | #334ffc | |
| RGB | rgb(51 79 252) | |
| HSL | hsl(231.64 97.1% 59.41%) | |
| OKLCH | oklch(0.53 0.25 268.11) | |
| CMYK | cmyk(79.76% 68.65% 0% 1.18%) | |
| Android | #ff334ffc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.73:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.66: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="#334ffc"
Gradient stop
<stop stop-color="#334ffc"/>
CSS variable + fill
:root { --c: #334ffc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #334ffc; background-color: #334ffc; bg-[#334ffc]