#1F283F
Dark Blue
HEX
RGB
HSL
About #1F283F Dark Blue
#1F283F is a dark blue color. In the RGB color model, it is composed of 31 red, 40 green, and 63 blue. In the HSL color space, it has a hue of 223°, saturation of 34%, and lightness of 18%.
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 & Gradients
Use #1F283F in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
223°
Hue
34%
Saturation
18%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #1F283F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1F283F against white and black backgrounds.
Aa#1F283F on White
Contrast Ratio14.65:1
AA ✓AA Large ✓AAA ✓
Aa#1F283F on Black
Contrast Ratio1.43:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1F283F across different color formats.
| Format | Value |
|---|---|
| HEX | #1F283F |
| RGB | rgb(31, 40, 63) |
| HSL | hsl(223, 34%, 18%) |
| RGB Decimal | 31, 40, 63 |
| RGB Percent | 12.2%, 15.7%, 24.7% |
| CMYK (approx.) | 51%, 37%, 0%, 75% |
Related Palettes
12 palettes using #1F283F or similar colors