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