#313040
Dark Blue
HEX
RGB
HSL
About #313040 Dark Blue
#313040 is a dark blue color. In the RGB color model, it is composed of 49 red, 48 green, and 64 blue. In the HSL color space, it has a hue of 244°, saturation of 14%, and lightness of 22%.
This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.
CSS Code
Use #313040 in your CSS, SCSS, or Tailwind projects.
Color Properties
244°
Hue
14%
Saturation
22%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #313040 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #313040 against white and black backgrounds.
Aa#313040 on White
Contrast Ratio12.9:1
AA ✓AA Large ✓AAA ✓
Aa#313040 on Black
Contrast Ratio1.63:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #313040 across different color formats.
| Format | Value |
|---|---|
| HEX | #313040 |
| RGB | rgb(49, 48, 64) |
| HSL | hsl(244, 14%, 22%) |
| RGB Decimal | 49, 48, 64 |
| RGB Percent | 19.2%, 18.8%, 25.1% |
| CMYK (approx.) | 23%, 25%, 0%, 75% |
Related Palettes
12 palettes using #313040 or similar colors