#31518C
Blue
HEX
RGB
HSL
About #31518C Blue
#31518C is a blue color. In the RGB color model, it is composed of 49 red, 81 green, and 140 blue. In the HSL color space, it has a hue of 219°, saturation of 48%, and lightness of 37%.
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 #31518C in your CSS, SCSS, or Tailwind projects.
Color Properties
219°
Hue
48%
Saturation
37%
Lightness
Blue
Color Harmonies
Colors that work well with #31518C based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #31518C against white and black backgrounds.
Aa#31518C on White
Contrast Ratio7.82:1
AA ✓AA Large ✓AAA ✓
Aa#31518C on Black
Contrast Ratio2.69:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #31518C across different color formats.
| Format | Value |
|---|---|
| HEX | #31518C |
| RGB | rgb(49, 81, 140) |
| HSL | hsl(219, 48%, 37%) |
| RGB Decimal | 49, 81, 140 |
| RGB Percent | 19.2%, 31.8%, 54.9% |
| CMYK (approx.) | 65%, 42%, 0%, 45% |
Related Palettes
12 palettes using #31518C or similar colors