#3198d7
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 | #3198d7 | |
| RGB | rgb(49 152 215) | |
| HSL | hsl(202.77 67.48% 51.76%) | |
| OKLCH | oklch(0.65 0.13 240.61) | |
| CMYK | cmyk(77.21% 29.3% 0% 15.69%) | |
| Android | #ff3198d7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.18:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.60: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="#3198d7"
Gradient stop
<stop stop-color="#3198d7"/>
CSS variable + fill
:root { --c: #3198d7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3198d7; background-color: #3198d7; bg-[#3198d7]