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