#312D8A
Blue
HEX
RGB
HSL
About #312D8A Blue
#312D8A is a blue color. In the RGB color model, it is composed of 49 red, 45 green, and 138 blue. In the HSL color space, it has a hue of 243°, saturation of 51%, and lightness of 36%.
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 & Gradients
Use #312D8A in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
243°
Hue
51%
Saturation
36%
Lightness
Blue
Color Harmonies
Colors that work well with #312D8A based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #312D8A against white and black backgrounds.
Aa#312D8A on White
Contrast Ratio11.21:1
AA ✓AA Large ✓AAA ✓
Aa#312D8A on Black
Contrast Ratio1.87:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #312D8A across different color formats.
| Format | Value |
|---|---|
| HEX | #312D8A |
| RGB | rgb(49, 45, 138) |
| HSL | hsl(243, 51%, 36%) |
| RGB Decimal | 49, 45, 138 |
| RGB Percent | 19.2%, 17.6%, 54.1% |
| CMYK (approx.) | 64%, 67%, 0%, 46% |
Related Palettes
12 palettes using #312D8A or similar colors