#4540D4
Blue
HEX
RGB
HSL
About #4540D4 Blue
#4540D4 is a blue color. In the RGB color model, it is composed of 69 red, 64 green, and 212 blue. In the HSL color space, it has a hue of 242°, saturation of 63%, and lightness of 54%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #4540D4 in your CSS, SCSS, or Tailwind projects.
Color Properties
242°
Hue
63%
Saturation
54%
Lightness
Blue
Color Harmonies
Colors that work well with #4540D4 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #4540D4 against white and black backgrounds.
Aa#4540D4 on White
Contrast Ratio7.15:1
AA ✓AA Large ✓AAA ✓
Aa#4540D4 on Black
Contrast Ratio2.94:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #4540D4 across different color formats.
| Format | Value |
|---|---|
| HEX | #4540D4 |
| RGB | rgb(69, 64, 212) |
| HSL | hsl(242, 63%, 54%) |
| RGB Decimal | 69, 64, 212 |
| RGB Percent | 27.1%, 25.1%, 83.1% |
| CMYK (approx.) | 67%, 70%, 0%, 17% |
Related Palettes
12 palettes using #4540D4 or similar colors