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