#0540AD
Vivid Blue
HEX
RGB
HSL
About #0540AD Vivid Blue
#0540AD is a vivid blue color. In the RGB color model, it is composed of 5 red, 64 green, and 173 blue. In the HSL color space, it has a hue of 219°, saturation of 94%, and lightness of 35%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #0540AD in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
219°
Hue
94%
Saturation
35%
Lightness
Vivid Blue
Color Harmonies
Colors that work well with #0540AD based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #0540AD against white and black backgrounds.
Aa#0540AD on White
Contrast Ratio8.96:1
AA ✓AA Large ✓AAA ✓
Aa#0540AD on Black
Contrast Ratio2.34:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #0540AD across different color formats.
| Format | Value |
|---|---|
| HEX | #0540AD |
| RGB | rgb(5, 64, 173) |
| HSL | hsl(219, 94%, 35%) |
| RGB Decimal | 5, 64, 173 |
| RGB Percent | 2.0%, 25.1%, 67.8% |
| CMYK (approx.) | 97%, 63%, 0%, 32% |
Related Palettes
12 palettes using #0540AD or similar colors