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