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