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