#0400FF
Vivid Blue
HEX
RGB
HSL
About #0400FF Vivid Blue
#0400FF is a vivid blue color. In the RGB color model, it is composed of 4 red, 0 green, and 255 blue. In the HSL color space, it has a hue of 241°, saturation of 100%, and lightness of 50%.
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
Use #0400FF in your CSS, SCSS, or Tailwind projects.
Color Properties
241°
Hue
100%
Saturation
50%
Lightness
Vivid Blue
Color Harmonies
Colors that work well with #0400FF based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #0400FF against white and black backgrounds.
Aa#0400FF on White
Contrast Ratio8.57:1
AA ✓AA Large ✓AAA ✓
Aa#0400FF on Black
Contrast Ratio2.45:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #0400FF across different color formats.
| Format | Value |
|---|---|
| HEX | #0400FF |
| RGB | rgb(4, 0, 255) |
| HSL | hsl(241, 100%, 50%) |
| RGB Decimal | 4, 0, 255 |
| RGB Percent | 1.6%, 0.0%, 100.0% |
| CMYK (approx.) | 98%, 100%, 0%, 0% |
Related Palettes
12 palettes using #0400FF or similar colors