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