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