#30648f
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 | #30648f | |
| RGB | rgb(48 100 143) | |
| HSL | hsl(207.16 49.74% 37.45%) | |
| OKLCH | oklch(0.49 0.09 245.98) | |
| CMYK | cmyk(66.43% 30.07% 0% 43.92%) | |
| Android | #ff30648f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.27:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.34: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="#30648f"
Gradient stop
<stop stop-color="#30648f"/>
CSS variable + fill
:root { --c: #30648f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #30648f; background-color: #30648f; bg-[#30648f]