#0f293c
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 | #0f293c | |
| RGB | rgb(15 41 60) | |
| HSL | hsl(205.33 60% 14.71%) | |
| OKLCH | oklch(0.27 0.05 242.99) | |
| CMYK | cmyk(75% 31.67% 0% 76.47%) | |
| Android | #ff0f293c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.97:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.40: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="#0f293c"
Gradient stop
<stop stop-color="#0f293c"/>
CSS variable + fill
:root { --c: #0f293c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0f293c; background-color: #0f293c; bg-[#0f293c]