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