#2f4f68
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 | #2f4f68 | |
| RGB | rgb(47 79 104) | |
| HSL | hsl(206.32 37.75% 29.61%) | |
| OKLCH | oklch(0.41 0.06 243.3) | |
| CMYK | cmyk(54.81% 24.04% 0% 59.22%) | |
| Android | #ff2f4f68 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.60:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.43:1
Fail AA normal text
Fail 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="#2f4f68"
Gradient stop
<stop stop-color="#2f4f68"/>
CSS variable + fill
:root { --c: #2f4f68; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2f4f68; background-color: #2f4f68; bg-[#2f4f68]