#334dfe
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 | #334dfe | |
| RGB | rgb(51 77 254) | |
| HSL | hsl(232.32 99.02% 59.8%) | |
| OKLCH | oklch(0.53 0.26 268.27) | |
| CMYK | cmyk(79.92% 69.69% 0% 0.39%) | |
| Android | #ff334dfe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.77:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.63: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="#334dfe"
Gradient stop
<stop stop-color="#334dfe"/>
CSS variable + fill
:root { --c: #334dfe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #334dfe; background-color: #334dfe; bg-[#334dfe]