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