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