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