#050268
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 | #050268 | |
| RGB | rgb(5 2 104) | |
| HSL | hsl(241.76 96.23% 20.78%) | |
| OKLCH | oklch(0.24 0.16 266.38) | |
| CMYK | cmyk(95.19% 98.08% 0% 59.22%) | |
| Android | #ff050268 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
17.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.21:1
Fail AA normal text
Fail 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="#050268"
Gradient stop
<stop stop-color="#050268"/>
CSS variable + fill
:root { --c: #050268; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #050268; background-color: #050268; bg-[#050268]