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