#309fb2
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 | #309fb2 | |
| RGB | rgb(48 159 178) | |
| HSL | hsl(188.77 57.52% 44.31%) | |
| OKLCH | oklch(0.65 0.1 211.56) | |
| CMYK | cmyk(73.03% 10.67% 0% 30.2%) | |
| Android | #ff309fb2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.12:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.72: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="#309fb2"
Gradient stop
<stop stop-color="#309fb2"/>
CSS variable + fill
:root { --c: #309fb2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #309fb2; background-color: #309fb2; bg-[#309fb2]