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