#271C87
Blue
HEX
RGB
HSL
About #271C87 Blue
#271C87 is a blue color. In the RGB color model, it is composed of 39 red, 28 green, and 135 blue. In the HSL color space, it has a hue of 246°, saturation of 66%, and lightness of 32%.
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 #271C87 in your CSS, SCSS, or Tailwind projects.
Color Properties
246°
Hue
66%
Saturation
32%
Lightness
Blue
Color Harmonies
Colors that work well with #271C87 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #271C87 against white and black backgrounds.
Aa#271C87 on White
Contrast Ratio13.11:1
AA ✓AA Large ✓AAA ✓
Aa#271C87 on Black
Contrast Ratio1.6:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #271C87 across different color formats.
| Format | Value |
|---|---|
| HEX | #271C87 |
| RGB | rgb(39, 28, 135) |
| HSL | hsl(246, 66%, 32%) |
| RGB Decimal | 39, 28, 135 |
| RGB Percent | 15.3%, 11.0%, 52.9% |
| CMYK (approx.) | 71%, 79%, 0%, 47% |
Related Palettes
12 palettes using #271C87 or similar colors