#312287
Blue
HEX
RGB
HSL
About #312287 Blue
#312287 is a blue color. In the RGB color model, it is composed of 49 red, 34 green, and 135 blue. In the HSL color space, it has a hue of 249°, saturation of 60%, and lightness of 33%.
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 #312287 in your CSS, SCSS, or Tailwind projects.
Color Properties
249°
Hue
60%
Saturation
33%
Lightness
Blue
Color Harmonies
Colors that work well with #312287 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #312287 against white and black backgrounds.
Aa#312287 on White
Contrast Ratio12.29:1
AA ✓AA Large ✓AAA ✓
Aa#312287 on Black
Contrast Ratio1.71:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #312287 across different color formats.
| Format | Value |
|---|---|
| HEX | #312287 |
| RGB | rgb(49, 34, 135) |
| HSL | hsl(249, 60%, 33%) |
| RGB Decimal | 49, 34, 135 |
| RGB Percent | 19.2%, 13.3%, 52.9% |
| CMYK (approx.) | 64%, 75%, 0%, 47% |
Related Palettes
12 palettes using #312287 or similar colors