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