#040024
Dark Blue
HEX
RGB
HSL
About #040024 Dark Blue
#040024 is a dark blue color. In the RGB color model, it is composed of 4 red, 0 green, and 36 blue. In the HSL color space, it has a hue of 247°, saturation of 100%, and lightness of 7%.
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 #040024 in your CSS, SCSS, or Tailwind projects.
Color Properties
247°
Hue
100%
Saturation
7%
Lightness
Dark Blue
Color Harmonies
Colors that work well with #040024 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #040024 against white and black backgrounds.
Aa#040024 on White
Contrast Ratio20.38:1
AA ✓AA Large ✓AAA ✓
Aa#040024 on Black
Contrast Ratio1.03:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #040024 across different color formats.
| Format | Value |
|---|---|
| HEX | #040024 |
| RGB | rgb(4, 0, 36) |
| HSL | hsl(247, 100%, 7%) |
| RGB Decimal | 4, 0, 36 |
| RGB Percent | 1.6%, 0.0%, 14.1% |
| CMYK (approx.) | 89%, 100%, 0%, 86% |
Related Palettes
12 palettes using #040024 or similar colors