#02458e
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 | #02458e | |
| RGB | rgb(2 69 142) | |
| HSL | hsl(211.29 97.22% 28.24%) | |
| OKLCH | oklch(0.4 0.14 256.1) | |
| CMYK | cmyk(98.59% 51.41% 0% 44.31%) | |
| Android | #ff02458e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.35:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.24: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="#02458e"
Gradient stop
<stop stop-color="#02458e"/>
CSS variable + fill
:root { --c: #02458e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #02458e; background-color: #02458e; bg-[#02458e]