#1154fa
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 | #1154fa | |
| RGB | rgb(17 84 250) | |
| HSL | hsl(222.75 95.88% 52.35%) | |
| OKLCH | oklch(0.53 0.25 263.45) | |
| CMYK | cmyk(93.2% 66.4% 0% 1.96%) | |
| Android | #ff1154fa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.71:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.67:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#1154fa"
Gradient stop
<stop stop-color="#1154fa"/>
CSS variable + fill
:root { --c: #1154fa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1154fa; background-color: #1154fa; bg-[#1154fa]