#1F3F9E
Blue
HEX
RGB
HSL
About #1F3F9E Blue
#1F3F9E is a blue color. In the RGB color model, it is composed of 31 red, 63 green, and 158 blue. In the HSL color space, it has a hue of 225°, saturation of 67%, and lightness of 37%.
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 #1F3F9E in your CSS, SCSS, or Tailwind projects.
Color Properties
225°
Hue
67%
Saturation
37%
Lightness
Blue
Color Harmonies
Colors that work well with #1F3F9E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1F3F9E against white and black backgrounds.
Aa#1F3F9E on White
Contrast Ratio9.28:1
AA ✓AA Large ✓AAA ✓
Aa#1F3F9E on Black
Contrast Ratio2.26:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1F3F9E across different color formats.
| Format | Value |
|---|---|
| HEX | #1F3F9E |
| RGB | rgb(31, 63, 158) |
| HSL | hsl(225, 67%, 37%) |
| RGB Decimal | 31, 63, 158 |
| RGB Percent | 12.2%, 24.7%, 62.0% |
| CMYK (approx.) | 80%, 60%, 0%, 38% |
Related Palettes
12 palettes using #1F3F9E or similar colors