cornflowerblue (#6495ed)
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 | #6495ed | |
| RGB | rgb(100 149 237) | |
| HSL | hsl(218.54 79.19% 66.08%) | |
| OKLCH | oklch(0.67 0.14 261.34) | |
| CMYK | cmyk(57.81% 37.13% 0% 7.06%) | |
| Android | #ff6495ed |
Names & lists
cornflowerblue CSS named
Web-safe: No
Tailwind: No
Contrast
Aa
2.97:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.06: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="#6495ed"
Gradient stop
<stop stop-color="#6495ed"/>
CSS variable + fill
:root { --c: #6495ed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6495ed; background-color: #6495ed; bg-[#6495ed]