#2b262f
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 | #2b262f | |
| RGB | rgb(43 38 47) | |
| HSL | hsl(273.33 10.59% 16.67%) | |
| OKLCH | oklch(0.28 0.02 310.07) | |
| CMYK | cmyk(8.51% 19.15% 0% 81.57%) | |
| Android | #ff2b262f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.77:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.42: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="#2b262f"
Gradient stop
<stop stop-color="#2b262f"/>
CSS variable + fill
:root { --c: #2b262f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2b262f; background-color: #2b262f; bg-[#2b262f]