#245ea8
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 | #245ea8 | |
| RGB | rgb(36 94 168) | |
| HSL | hsl(213.64 64.71% 40%) | |
| OKLCH | oklch(0.48 0.13 256.18) | |
| CMYK | cmyk(78.57% 44.05% 0% 34.12%) | |
| Android | #ff245ea8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.47:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.24: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="#245ea8"
Gradient stop
<stop stop-color="#245ea8"/>
CSS variable + fill
:root { --c: #245ea8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #245ea8; background-color: #245ea8; bg-[#245ea8]