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