#335dae
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 | #335dae | |
| RGB | rgb(51 93 174) | |
| HSL | hsl(219.51 54.67% 44.12%) | |
| OKLCH | oklch(0.49 0.14 262.02) | |
| CMYK | cmyk(70.69% 46.55% 0% 31.76%) | |
| Android | #ff335dae |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.32:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.31: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="#335dae"
Gradient stop
<stop stop-color="#335dae"/>
CSS variable + fill
:root { --c: #335dae; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #335dae; background-color: #335dae; bg-[#335dae]