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