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