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