#1948df
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 | #1948df | |
| RGB | rgb(25 72 223) | |
| HSL | hsl(225.76 79.84% 48.63%) | |
| OKLCH | oklch(0.48 0.23 264.74) | |
| CMYK | cmyk(88.79% 67.71% 0% 12.55%) | |
| Android | #ff1948df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.92:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.03: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="#1948df"
Gradient stop
<stop stop-color="#1948df"/>
CSS variable + fill
:root { --c: #1948df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1948df; background-color: #1948df; bg-[#1948df]