#1F2D5E
Blue
HEX
RGB
HSL
About #1F2D5E Blue
#1F2D5E is a blue color. In the RGB color model, it is composed of 31 red, 45 green, and 94 blue. In the HSL color space, it has a hue of 227°, saturation of 50%, and lightness of 25%.
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 #1F2D5E in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
227°
Hue
50%
Saturation
25%
Lightness
Blue
Color Harmonies
Colors that work well with #1F2D5E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1F2D5E against white and black backgrounds.
Aa#1F2D5E on White
Contrast Ratio13.16:1
AA ✓AA Large ✓AAA ✓
Aa#1F2D5E on Black
Contrast Ratio1.6:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1F2D5E across different color formats.
| Format | Value |
|---|---|
| HEX | #1F2D5E |
| RGB | rgb(31, 45, 94) |
| HSL | hsl(227, 50%, 25%) |
| RGB Decimal | 31, 45, 94 |
| RGB Percent | 12.2%, 17.6%, 36.9% |
| CMYK (approx.) | 67%, 52%, 0%, 63% |
Related Palettes
12 palettes using #1F2D5E or similar colors