#245eba
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 | #245eba | |
| RGB | rgb(36 94 186) | |
| HSL | hsl(216.8 67.57% 43.53%) | |
| OKLCH | oklch(0.5 0.16 259.53) | |
| CMYK | cmyk(80.65% 49.46% 0% 27.06%) | |
| Android | #ff245eba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.20:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.38: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="#245eba"
Gradient stop
<stop stop-color="#245eba"/>
CSS variable + fill
:root { --c: #245eba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #245eba; background-color: #245eba; bg-[#245eba]