#798CD7
Blue
HEX
RGB
HSL
About #798CD7 Blue
#798CD7 is a blue color. In the RGB color model, it is composed of 121 red, 140 green, and 215 blue. In the HSL color space, it has a hue of 228°, saturation of 54%, and lightness of 66%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #798CD7 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
228°
Hue
54%
Saturation
66%
Lightness
Blue
Color Harmonies
Colors that work well with #798CD7 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #798CD7 against white and black backgrounds.
Aa#798CD7 on White
Contrast Ratio3.21:1
AA ✗AA Large ✓AAA ✗
Aa#798CD7 on Black
Contrast Ratio6.55:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #798CD7 across different color formats.
| Format | Value |
|---|---|
| HEX | #798CD7 |
| RGB | rgb(121, 140, 215) |
| HSL | hsl(228, 54%, 66%) |
| RGB Decimal | 121, 140, 215 |
| RGB Percent | 47.5%, 54.9%, 84.3% |
| CMYK (approx.) | 44%, 35%, 0%, 16% |
Related Palettes
12 palettes using #798CD7 or similar colors