#2d8fca
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 | #2d8fca | |
| RGB | rgb(45 143 202) | |
| HSL | hsl(202.55 63.56% 48.43%) | |
| OKLCH | oklch(0.62 0.13 240.26) | |
| CMYK | cmyk(77.72% 29.21% 0% 20.78%) | |
| Android | #ff2d8fca |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.56:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.89:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#2d8fca"
Gradient stop
<stop stop-color="#2d8fca"/>
CSS variable + fill
:root { --c: #2d8fca; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2d8fca; background-color: #2d8fca; bg-[#2d8fca]