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