#6f72eb
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 | #6f72eb | |
| RGB | rgb(111 114 235) | |
| HSL | hsl(238.55 75.61% 67.84%) | |
| OKLCH | oklch(0.61 0.18 278.64) | |
| CMYK | cmyk(52.77% 51.49% 0% 7.84%) | |
| Android | #ff6f72eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.97:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.28: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="#6f72eb"
Gradient stop
<stop stop-color="#6f72eb"/>
CSS variable + fill
:root { --c: #6f72eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6f72eb; background-color: #6f72eb; bg-[#6f72eb]