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