#2742A5
Blue
HEX
RGB
HSL
About #2742A5 Blue
#2742A5 is a blue color. In the RGB color model, it is composed of 39 red, 66 green, and 165 blue. In the HSL color space, it has a hue of 227°, saturation of 62%, and lightness of 40%.
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 #2742A5 in your CSS, SCSS, or Tailwind projects.
Color Properties
227°
Hue
62%
Saturation
40%
Lightness
Blue
Color Harmonies
Colors that work well with #2742A5 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2742A5 against white and black backgrounds.
Aa#2742A5 on White
Contrast Ratio8.72:1
AA ✓AA Large ✓AAA ✓
Aa#2742A5 on Black
Contrast Ratio2.41:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2742A5 across different color formats.
| Format | Value |
|---|---|
| HEX | #2742A5 |
| RGB | rgb(39, 66, 165) |
| HSL | hsl(227, 62%, 40%) |
| RGB Decimal | 39, 66, 165 |
| RGB Percent | 15.3%, 25.9%, 64.7% |
| CMYK (approx.) | 76%, 60%, 0%, 35% |
Related Palettes
12 palettes using #2742A5 or similar colors