#245cdf
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 | #245cdf | |
| RGB | rgb(36 92 223) | |
| HSL | hsl(222.03 74.5% 50.78%) | |
| OKLCH | oklch(0.52 0.21 263.39) | |
| CMYK | cmyk(83.86% 58.74% 0% 12.55%) | |
| Android | #ff245cdf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.71:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.67: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="#245cdf"
Gradient stop
<stop stop-color="#245cdf"/>
CSS variable + fill
:root { --c: #245cdf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #245cdf; background-color: #245cdf; bg-[#245cdf]