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