#342EA8
Blue
HEX
RGB
HSL
About #342EA8 Blue
#342EA8 is a blue color. In the RGB color model, it is composed of 52 red, 46 green, and 168 blue. In the HSL color space, it has a hue of 243°, saturation of 57%, and lightness of 42%.
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 #342EA8 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
243°
Hue
57%
Saturation
42%
Lightness
Blue
Color Harmonies
Colors that work well with #342EA8 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #342EA8 against white and black backgrounds.
Aa#342EA8 on White
Contrast Ratio9.99:1
AA ✓AA Large ✓AAA ✓
Aa#342EA8 on Black
Contrast Ratio2.1:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #342EA8 across different color formats.
| Format | Value |
|---|---|
| HEX | #342EA8 |
| RGB | rgb(52, 46, 168) |
| HSL | hsl(243, 57%, 42%) |
| RGB Decimal | 52, 46, 168 |
| RGB Percent | 20.4%, 18.0%, 65.9% |
| CMYK (approx.) | 69%, 73%, 0%, 34% |
Related Palettes
12 palettes using #342EA8 or similar colors