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