#271FF2

#271ff2 ≈ Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#271ff2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 15.29% red, 12.16% green and 94.9% blue; printed in CMYK it uses 83.88% cyan, 87.19% magenta, 0% yellow and 5.1% black. Its hue angle is 242.27°, with 89.03% saturation and 53.53% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 8.19:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.24.

Description generated from the measured properties of this color.

Conversions of #271ff2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3333ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0782

Readable text 8.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #4241aa ≈ 0.001% of males
Protanopia #005af7 ≈ 1.01% of males
Deuteranopia #0044ef ≈ 1.27% of males
Tritanopia #006990 ≈ 0.0001% of males
Protanomaly #0049f5 ≈ 1.08% of males
Deuteranomaly #0038f0 ≈ 4.63% of males
Tritanomaly #0055bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-271ff2 {
  color: #271ff2;
}
Background
.bg-271ff2 {
  background-color: #271ff2;
  color: #ffffff;
}
Border
.border-271ff2 {
  border: 2px solid #271ff2;
}
CSS variables
:root {
  --color-primary: #271ff2;
  --color-primary-rgb: 39 31 242;
  --color-primary-hsl: 242 89% 54%;
}
Gradient
.gradient-271ff2 {
  background: linear-gradient(135deg, #271ff2, #901ff2);
}
Colored shadow
.shadow-271ff2 {
  box-shadow: 0 8px 24px rgb(39 31 242 / 0.35);
}

Blue
#271ff2  rgb(39, 31, 242)  hsl(242, 89%, 54%)  Blue
#eaf21f  rgb(234, 242, 31)  hsl(62, 89%, 54%)  Daffodil
#f2271f  rgb(242, 39, 31)  hsl(2, 89%, 54%)  Lust
#1ff227  rgb(31, 242, 39)  hsl(122, 89%, 54%)  Lime