#040E1D
Dark Blue
HEX
RGB
HSL
About #040E1D Dark Blue
#040E1D is a dark blue color. In the RGB color model, it is composed of 4 red, 14 green, and 29 blue. In the HSL color space, it has a hue of 216°, saturation of 76%, and lightness of 6%.
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 & Gradients
Use #040E1D in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
216°
Hue
76%
Saturation
6%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #040E1D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #040E1D against white and black backgrounds.
Aa#040E1D on White
Contrast Ratio19.34:1
AA ✓AA Large ✓AAA ✓
Aa#040E1D on Black
Contrast Ratio1.09:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #040E1D across different color formats.
| Format | Value |
|---|---|
| HEX | #040E1D |
| RGB | rgb(4, 14, 29) |
| HSL | hsl(216, 76%, 6%) |
| RGB Decimal | 4, 14, 29 |
| RGB Percent | 1.6%, 5.5%, 11.4% |
| CMYK (approx.) | 86%, 52%, 0%, 89% |
Related Palettes
12 palettes using #040E1D or similar colors