#271C8D
Blue
HEX
RGB
HSL
About #271C8D Blue
#271C8D is a blue color. In the RGB color model, it is composed of 39 red, 28 green, and 141 blue. In the HSL color space, it has a hue of 246°, saturation of 67%, and lightness of 33%.
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 #271C8D in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
246°
Hue
67%
Saturation
33%
Lightness
Blue
Color Harmonies
Colors that work well with #271C8D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #271C8D against white and black backgrounds.
Aa#271C8D on White
Contrast Ratio12.83:1
AA ✓AA Large ✓AAA ✓
Aa#271C8D on Black
Contrast Ratio1.64:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #271C8D across different color formats.
| Format | Value |
|---|---|
| HEX | #271C8D |
| RGB | rgb(39, 28, 141) |
| HSL | hsl(246, 67%, 33%) |
| RGB Decimal | 39, 28, 141 |
| RGB Percent | 15.3%, 11.0%, 55.3% |
| CMYK (approx.) | 72%, 80%, 0%, 45% |
Related Palettes
12 palettes using #271C8D or similar colors