#1F256B
Blue
HEX
RGB
HSL
About #1F256B Blue
#1F256B is a blue color. In the RGB color model, it is composed of 31 red, 37 green, and 107 blue. In the HSL color space, it has a hue of 235°, saturation of 55%, and lightness of 27%.
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 #1F256B in your CSS, SCSS, or Tailwind projects.
Color Properties
235°
Hue
55%
Saturation
27%
Lightness
Blue
Color Harmonies
Colors that work well with #1F256B based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1F256B against white and black backgrounds.
Aa#1F256B on White
Contrast Ratio13.68:1
AA ✓AA Large ✓AAA ✓
Aa#1F256B on Black
Contrast Ratio1.54:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1F256B across different color formats.
| Format | Value |
|---|---|
| HEX | #1F256B |
| RGB | rgb(31, 37, 107) |
| HSL | hsl(235, 55%, 27%) |
| RGB Decimal | 31, 37, 107 |
| RGB Percent | 12.2%, 14.5%, 42.0% |
| CMYK (approx.) | 71%, 65%, 0%, 58% |
Related Palettes
12 palettes using #1F256B or similar colors