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