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