#1F42E0
Blue
HEX
RGB
HSL
About #1F42E0 Blue
#1F42E0 is a blue color. In the RGB color model, it is composed of 31 red, 66 green, and 224 blue. In the HSL color space, it has a hue of 229°, saturation of 76%, and lightness of 50%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #1F42E0 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
229°
Hue
76%
Saturation
50%
Lightness
Blue
Color Harmonies
Colors that work well with #1F42E0 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #1F42E0 against white and black backgrounds.
Aa#1F42E0 on White
Contrast Ratio7.21:1
AA ✓AA Large ✓AAA ✓
Aa#1F42E0 on Black
Contrast Ratio2.91:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #1F42E0 across different color formats.
| Format | Value |
|---|---|
| HEX | #1F42E0 |
| RGB | rgb(31, 66, 224) |
| HSL | hsl(229, 76%, 50%) |
| RGB Decimal | 31, 66, 224 |
| RGB Percent | 12.2%, 25.9%, 87.8% |
| CMYK (approx.) | 86%, 71%, 0%, 12% |
Related Palettes
12 palettes using #1F42E0 or similar colors