#312A7E
Blue
HEX
RGB
HSL
About #312A7E Blue
#312A7E is a blue color. In the RGB color model, it is composed of 49 red, 42 green, and 126 blue. In the HSL color space, it has a hue of 245°, saturation of 50%, and lightness of 33%.
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 #312A7E in your CSS, SCSS, or Tailwind projects.
Color Properties
245°
Hue
50%
Saturation
33%
Lightness
Blue
Color Harmonies
Colors that work well with #312A7E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #312A7E against white and black backgrounds.
Aa#312A7E on White
Contrast Ratio11.91:1
AA ✓AA Large ✓AAA ✓
Aa#312A7E on Black
Contrast Ratio1.76:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #312A7E across different color formats.
| Format | Value |
|---|---|
| HEX | #312A7E |
| RGB | rgb(49, 42, 126) |
| HSL | hsl(245, 50%, 33%) |
| RGB Decimal | 49, 42, 126 |
| RGB Percent | 19.2%, 16.5%, 49.4% |
| CMYK (approx.) | 61%, 67%, 0%, 51% |
Related Palettes
12 palettes using #312A7E or similar colors