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