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