#6b97fb
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 | #6b97fb | |
| RGB | rgb(107 151 251) | |
| HSL | hsl(221.67 94.74% 70.2%) | |
| OKLCH | oklch(0.69 0.16 264.74) | |
| CMYK | cmyk(57.37% 39.84% 0% 1.57%) | |
| Android | #ff6b97fb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.82:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.44: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="#6b97fb"
Gradient stop
<stop stop-color="#6b97fb"/>
CSS variable + fill
:root { --c: #6b97fb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6b97fb; background-color: #6b97fb; bg-[#6b97fb]