#240CA6
Vivid Blue
HEX
RGB
HSL
About #240CA6 Vivid Blue
#240CA6 is a vivid blue color. In the RGB color model, it is composed of 36 red, 12 green, and 166 blue. In the HSL color space, it has a hue of 249°, saturation of 87%, and lightness of 35%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #240CA6 in your CSS, SCSS, or Tailwind projects.
Color Properties
249°
Hue
87%
Saturation
35%
Lightness
Vivid Blue
Color Harmonies
Colors that work well with #240CA6 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #240CA6 against white and black backgrounds.
Aa#240CA6 on White
Contrast Ratio12.51:1
AA ✓AA Large ✓AAA ✓
Aa#240CA6 on Black
Contrast Ratio1.68:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #240CA6 across different color formats.
| Format | Value |
|---|---|
| HEX | #240CA6 |
| RGB | rgb(36, 12, 166) |
| HSL | hsl(249, 87%, 35%) |
| RGB Decimal | 36, 12, 166 |
| RGB Percent | 14.1%, 4.7%, 65.1% |
| CMYK (approx.) | 78%, 93%, 0%, 35% |
Related Palettes
12 palettes using #240CA6 or similar colors