#3a8def
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 | #3a8def | |
| RGB | rgb(58 141 239) | |
| HSL | hsl(212.49 84.98% 58.24%) | |
| OKLCH | oklch(0.64 0.17 254.76) | |
| CMYK | cmyk(75.73% 41% 0% 6.27%) | |
| Android | #ff3a8def |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.36:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.23:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#3a8def"
Gradient stop
<stop stop-color="#3a8def"/>
CSS variable + fill
:root { --c: #3a8def; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3a8def; background-color: #3a8def; bg-[#3a8def]