#4D40C4
Blue
HEX
RGB
HSL
About #4D40C4 Blue
#4D40C4 is a blue color. In the RGB color model, it is composed of 77 red, 64 green, and 196 blue. In the HSL color space, it has a hue of 246°, saturation of 53%, and lightness of 51%.
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 #4D40C4 in your CSS, SCSS, or Tailwind projects.
Color Properties
246°
Hue
53%
Saturation
51%
Lightness
Blue
Color Harmonies
Colors that work well with #4D40C4 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #4D40C4 against white and black backgrounds.
Aa#4D40C4 on White
Contrast Ratio7.38:1
AA ✓AA Large ✓AAA ✓
Aa#4D40C4 on Black
Contrast Ratio2.85:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #4D40C4 across different color formats.
| Format | Value |
|---|---|
| HEX | #4D40C4 |
| RGB | rgb(77, 64, 196) |
| HSL | hsl(246, 53%, 51%) |
| RGB Decimal | 77, 64, 196 |
| RGB Percent | 30.2%, 25.1%, 76.9% |
| CMYK (approx.) | 61%, 67%, 0%, 23% |
Related Palettes
12 palettes using #4D40C4 or similar colors