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