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