#452a99
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 | #452a99 | |
| RGB | rgb(69 42 153) | |
| HSL | hsl(254.59 56.92% 38.24%) | |
| OKLCH | oklch(0.39 0.17 286.9) | |
| CMYK | cmyk(54.9% 72.55% 0% 40%) | |
| Android | #ff452a99 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.27:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.04: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="#452a99"
Gradient stop
<stop stop-color="#452a99"/>
CSS variable + fill
:root { --c: #452a99; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #452a99; background-color: #452a99; bg-[#452a99]