#6299ff
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 | #6299ff | |
| RGB | rgb(98 153 255) | |
| HSL | hsl(218.98 100% 69.22%) | |
| OKLCH | oklch(0.69 0.16 261.71) | |
| CMYK | cmyk(61.57% 40% 0% 0%) | |
| Android | #ff6299ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.79:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.51: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="#6299ff"
Gradient stop
<stop stop-color="#6299ff"/>
CSS variable + fill
:root { --c: #6299ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6299ff; background-color: #6299ff; bg-[#6299ff]