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