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