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