#040E7C
Vivid Blue
HEX
RGB
HSL
About #040E7C Vivid Blue
#040E7C is a vivid blue color. In the RGB color model, it is composed of 4 red, 14 green, and 124 blue. In the HSL color space, it has a hue of 235°, saturation of 94%, and lightness of 25%.
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 #040E7C in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
235°
Hue
94%
Saturation
25%
Lightness
Vivid Blue
Color Harmonies
Colors that work well with #040E7C based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #040E7C against white and black backgrounds.
Aa#040E7C on White
Contrast Ratio15.45:1
AA ✓AA Large ✓AAA ✓
Aa#040E7C on Black
Contrast Ratio1.36:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #040E7C across different color formats.
| Format | Value |
|---|---|
| HEX | #040E7C |
| RGB | rgb(4, 14, 124) |
| HSL | hsl(235, 94%, 25%) |
| RGB Decimal | 4, 14, 124 |
| RGB Percent | 1.6%, 5.5%, 48.6% |
| CMYK (approx.) | 97%, 89%, 0%, 51% |
Related Palettes
12 palettes using #040E7C or similar colors