#402DBE
Blue
HEX
RGB
HSL
About #402DBE Blue
#402DBE is a blue color. In the RGB color model, it is composed of 64 red, 45 green, and 190 blue. In the HSL color space, it has a hue of 248°, saturation of 62%, and lightness of 46%.
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 #402DBE in your CSS, SCSS, or Tailwind projects.
Color Properties
248°
Hue
62%
Saturation
46%
Lightness
Blue
Color Harmonies
Colors that work well with #402DBE based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #402DBE against white and black backgrounds.
Aa#402DBE on White
Contrast Ratio8.99:1
AA ✓AA Large ✓AAA ✓
Aa#402DBE on Black
Contrast Ratio2.34:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #402DBE across different color formats.
| Format | Value |
|---|---|
| HEX | #402DBE |
| RGB | rgb(64, 45, 190) |
| HSL | hsl(248, 62%, 46%) |
| RGB Decimal | 64, 45, 190 |
| RGB Percent | 25.1%, 17.6%, 74.5% |
| CMYK (approx.) | 66%, 76%, 0%, 25% |
Related Palettes
12 palettes using #402DBE or similar colors