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