#2f699e
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 | #2f699e | |
| RGB | rgb(47 105 158) | |
| HSL | hsl(208.65 54.15% 40.2%) | |
| OKLCH | oklch(0.51 0.1 248.8) | |
| CMYK | cmyk(70.25% 33.54% 0% 38.04%) | |
| Android | #ff2f699e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.77:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.63: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="#2f699e"
Gradient stop
<stop stop-color="#2f699e"/>
CSS variable + fill
:root { --c: #2f699e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2f699e; background-color: #2f699e; bg-[#2f699e]