#040B2F
Dark Blue
HEX
RGB
HSL
About #040B2F Dark Blue
#040B2F is a dark blue color. In the RGB color model, it is composed of 4 red, 11 green, and 47 blue. In the HSL color space, it has a hue of 230°, saturation of 84%, and lightness of 10%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #040B2F in your CSS, SCSS, or Tailwind projects.
Color Properties
230°
Hue
84%
Saturation
10%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #040B2F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #040B2F against white and black backgrounds.
Aa#040B2F on White
Contrast Ratio19.19:1
AA ✓AA Large ✓AAA ✓
Aa#040B2F on Black
Contrast Ratio1.09:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #040B2F across different color formats.
| Format | Value |
|---|---|
| HEX | #040B2F |
| RGB | rgb(4, 11, 47) |
| HSL | hsl(230, 84%, 10%) |
| RGB Decimal | 4, 11, 47 |
| RGB Percent | 1.6%, 4.3%, 18.4% |
| CMYK (approx.) | 91%, 77%, 0%, 82% |
Related Palettes
12 palettes using #040B2F or similar colors