#0f74ca
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 | #0f74ca | |
| RGB | rgb(15 116 202) | |
| HSL | hsl(207.59 86.18% 42.55%) | |
| OKLCH | oklch(0.55 0.16 251.41) | |
| CMYK | cmyk(92.57% 42.57% 0% 20.78%) | |
| Android | #ff0f74ca |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.80:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.37: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="#0f74ca"
Gradient stop
<stop stop-color="#0f74ca"/>
CSS variable + fill
:root { --c: #0f74ca; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0f74ca; background-color: #0f74ca; bg-[#0f74ca]