#306386
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 | #306386 | |
| RGB | rgb(48 99 134) | |
| HSL | hsl(204.42 47.25% 35.69%) | |
| OKLCH | oklch(0.48 0.08 241.04) | |
| CMYK | cmyk(64.18% 26.12% 0% 47.45%) | |
| Android | #ff306386 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.45:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.25: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="#306386"
Gradient stop
<stop stop-color="#306386"/>
CSS variable + fill
:root { --c: #306386; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #306386; background-color: #306386; bg-[#306386]