#1840F2
Vivid Blue
HEX
RGB
HSL
About #1840F2 Vivid Blue
#1840F2 is a vivid blue color. In the RGB color model, it is composed of 24 red, 64 green, and 242 blue. In the HSL color space, it has a hue of 229°, saturation of 89%, and lightness of 52%.
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 #1840F2 in your CSS, SCSS, or Tailwind projects.
Color Properties
229°
Hue
89%
Saturation
52%
Lightness
Vivid Blue
Color Harmonies
Colors that work well with #1840F2 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1840F2 against white and black backgrounds.
Aa#1840F2 on White
Contrast Ratio6.88:1
AA ✓AA Large ✓AAA ✗
Aa#1840F2 on Black
Contrast Ratio3.05:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #1840F2 across different color formats.
| Format | Value |
|---|---|
| HEX | #1840F2 |
| RGB | rgb(24, 64, 242) |
| HSL | hsl(229, 89%, 52%) |
| RGB Decimal | 24, 64, 242 |
| RGB Percent | 9.4%, 25.1%, 94.9% |
| CMYK (approx.) | 90%, 74%, 0%, 5% |
Related Palettes
12 palettes using #1840F2 or similar colors