#312A84
Blue
HEX
RGB
HSL
About #312A84 Blue
#312A84 is a blue color. In the RGB color model, it is composed of 49 red, 42 green, and 132 blue. In the HSL color space, it has a hue of 245°, saturation of 52%, and lightness of 34%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #312A84 in your CSS, SCSS, or Tailwind projects.
Color Properties
245°
Hue
52%
Saturation
34%
Lightness
Blue
Color Harmonies
Colors that work well with #312A84 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #312A84 against white and black backgrounds.
Aa#312A84 on White
Contrast Ratio11.7:1
AA ✓AA Large ✓AAA ✓
Aa#312A84 on Black
Contrast Ratio1.79:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #312A84 across different color formats.
| Format | Value |
|---|---|
| HEX | #312A84 |
| RGB | rgb(49, 42, 132) |
| HSL | hsl(245, 52%, 34%) |
| RGB Decimal | 49, 42, 132 |
| RGB Percent | 19.2%, 16.5%, 51.8% |
| CMYK (approx.) | 63%, 68%, 0%, 48% |
Related Palettes
12 palettes using #312A84 or similar colors