#040FD9
Vivid Blue
HEX
RGB
HSL
About #040FD9 Vivid Blue
#040FD9 is a vivid blue color. In the RGB color model, it is composed of 4 red, 15 green, and 217 blue. In the HSL color space, it has a hue of 237°, saturation of 96%, and lightness of 43%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #040FD9 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
237°
Hue
96%
Saturation
43%
Lightness
Vivid Blue
Color Harmonies
Colors that work well with #040FD9 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #040FD9 against white and black backgrounds.
Aa#040FD9 on White
Contrast Ratio10.12:1
AA ✓AA Large ✓AAA ✓
Aa#040FD9 on Black
Contrast Ratio2.08:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #040FD9 across different color formats.
| Format | Value |
|---|---|
| HEX | #040FD9 |
| RGB | rgb(4, 15, 217) |
| HSL | hsl(237, 96%, 43%) |
| RGB Decimal | 4, 15, 217 |
| RGB Percent | 1.6%, 5.9%, 85.1% |
| CMYK (approx.) | 98%, 93%, 0%, 15% |
Related Palettes
12 palettes using #040FD9 or similar colors