#0f2ebe
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 | #0f2ebe | |
| RGB | rgb(15 46 190) | |
| HSL | hsl(229.37 85.37% 40.2%) | |
| OKLCH | oklch(0.41 0.22 265.34) | |
| CMYK | cmyk(92.11% 75.79% 0% 25.49%) | |
| Android | #ff0f2ebe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.74:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.15: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="#0f2ebe"
Gradient stop
<stop stop-color="#0f2ebe"/>
CSS variable + fill
:root { --c: #0f2ebe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0f2ebe; background-color: #0f2ebe; bg-[#0f2ebe]