#31417D
Blue
HEX
RGB
HSL
About #31417D Blue
#31417D is a blue color. In the RGB color model, it is composed of 49 red, 65 green, and 125 blue. In the HSL color space, it has a hue of 227°, saturation of 44%, 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
Use #31417D in your CSS, SCSS, or Tailwind projects.
Color Properties
227°
Hue
44%
Saturation
34%
Lightness
Blue
Color Harmonies
Colors that work well with #31417D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #31417D against white and black backgrounds.
Aa#31417D on White
Contrast Ratio9.62:1
AA ✓AA Large ✓AAA ✓
Aa#31417D on Black
Contrast Ratio2.18:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #31417D across different color formats.
| Format | Value |
|---|---|
| HEX | #31417D |
| RGB | rgb(49, 65, 125) |
| HSL | hsl(227, 44%, 34%) |
| RGB Decimal | 49, 65, 125 |
| RGB Percent | 19.2%, 25.5%, 49.0% |
| CMYK (approx.) | 61%, 48%, 0%, 51% |
Related Palettes
12 palettes using #31417D or similar colors