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