#342B97
Blue
HEX
RGB
HSL
About #342B97 Blue
#342B97 is a blue color. In the RGB color model, it is composed of 52 red, 43 green, and 151 blue. In the HSL color space, it has a hue of 245°, saturation of 56%, and lightness of 38%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #342B97 in your CSS, SCSS, or Tailwind projects.
Color Properties
245°
Hue
56%
Saturation
38%
Lightness
Blue
Color Harmonies
Colors that work well with #342B97 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #342B97 against white and black backgrounds.
Aa#342B97 on White
Contrast Ratio10.83:1
AA ✓AA Large ✓AAA ✓
Aa#342B97 on Black
Contrast Ratio1.94:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #342B97 across different color formats.
| Format | Value |
|---|---|
| HEX | #342B97 |
| RGB | rgb(52, 43, 151) |
| HSL | hsl(245, 56%, 38%) |
| RGB Decimal | 52, 43, 151 |
| RGB Percent | 20.4%, 16.9%, 59.2% |
| CMYK (approx.) | 66%, 72%, 0%, 41% |
Related Palettes
12 palettes using #342B97 or similar colors