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