#2A4F8D
Blue
HEX
RGB
HSL
About #2A4F8D Blue
#2A4F8D is a blue color. In the RGB color model, it is composed of 42 red, 79 green, and 141 blue. In the HSL color space, it has a hue of 218°, saturation of 54%, and lightness of 36%.
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 #2A4F8D in your CSS, SCSS, or Tailwind projects.
Color Properties
218°
Hue
54%
Saturation
36%
Lightness
Blue
Color Harmonies
Colors that work well with #2A4F8D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2A4F8D against white and black backgrounds.
Aa#2A4F8D on White
Contrast Ratio8.07:1
AA ✓AA Large ✓AAA ✓
Aa#2A4F8D on Black
Contrast Ratio2.6:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2A4F8D across different color formats.
| Format | Value |
|---|---|
| HEX | #2A4F8D |
| RGB | rgb(42, 79, 141) |
| HSL | hsl(218, 54%, 36%) |
| RGB Decimal | 42, 79, 141 |
| RGB Percent | 16.5%, 31.0%, 55.3% |
| CMYK (approx.) | 70%, 44%, 0%, 45% |
Related Palettes
12 palettes using #2A4F8D or similar colors