#40409D
Blue
HEX
RGB
HSL
About #40409D Blue
#40409D is a blue color. In the RGB color model, it is composed of 64 red, 64 green, and 157 blue. In the HSL color space, it has a hue of 240°, saturation of 42%, and lightness of 43%.
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 & Gradients
Use #40409D in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
240°
Hue
42%
Saturation
43%
Lightness
Blue
Color Harmonies
Colors that work well with #40409D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #40409D against white and black backgrounds.
Aa#40409D on White
Contrast Ratio8.61:1
AA ✓AA Large ✓AAA ✓
Aa#40409D on Black
Contrast Ratio2.44:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #40409D across different color formats.
| Format | Value |
|---|---|
| HEX | #40409D |
| RGB | rgb(64, 64, 157) |
| HSL | hsl(240, 42%, 43%) |
| RGB Decimal | 64, 64, 157 |
| RGB Percent | 25.1%, 25.1%, 61.6% |
| CMYK (approx.) | 59%, 59%, 0%, 38% |
Related Palettes
12 palettes using #40409D or similar colors