#304E71
Blue
HEX
RGB
HSL
About #304E71 Blue
#304E71 is a blue color. In the RGB color model, it is composed of 48 red, 78 green, and 113 blue. In the HSL color space, it has a hue of 212°, saturation of 40%, and lightness of 32%.
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 & Gradients
Use #304E71 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
212°
Hue
40%
Saturation
32%
Lightness
Blue
Color Harmonies
Colors that work well with #304E71 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #304E71 against white and black backgrounds.
Aa#304E71 on White
Contrast Ratio8.56:1
AA ✓AA Large ✓AAA ✓
Aa#304E71 on Black
Contrast Ratio2.45:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #304E71 across different color formats.
| Format | Value |
|---|---|
| HEX | #304E71 |
| RGB | rgb(48, 78, 113) |
| HSL | hsl(212, 40%, 32%) |
| RGB Decimal | 48, 78, 113 |
| RGB Percent | 18.8%, 30.6%, 44.3% |
| CMYK (approx.) | 58%, 31%, 0%, 56% |
Related Palettes
12 palettes using #304E71 or similar colors