#1F2F7F
Blue
HEX
RGB
HSL
About #1F2F7F Blue
#1F2F7F is a blue color. In the RGB color model, it is composed of 31 red, 47 green, and 127 blue. In the HSL color space, it has a hue of 230°, saturation of 61%, and lightness of 31%.
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 #1F2F7F in your CSS, SCSS, or Tailwind projects.
Color Properties
230°
Hue
61%
Saturation
31%
Lightness
Blue
Color Harmonies
Colors that work well with #1F2F7F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1F2F7F against white and black backgrounds.
Aa#1F2F7F on White
Contrast Ratio11.86:1
AA ✓AA Large ✓AAA ✓
Aa#1F2F7F on Black
Contrast Ratio1.77:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1F2F7F across different color formats.
| Format | Value |
|---|---|
| HEX | #1F2F7F |
| RGB | rgb(31, 47, 127) |
| HSL | hsl(230, 61%, 31%) |
| RGB Decimal | 31, 47, 127 |
| RGB Percent | 12.2%, 18.4%, 49.8% |
| CMYK (approx.) | 76%, 63%, 0%, 50% |
Related Palettes
12 palettes using #1F2F7F or similar colors