#271FEB

#271feb ≈ Blue

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

#271feb 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 92.16% blue; printed in CMYK it uses 83.4% cyan, 86.81% magenta, 0% yellow and 7.84% black. Its hue angle is 242.35°, with 83.61% saturation and 52.16% 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.46:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.46.

Description generated from the measured properties of this color.

Conversions of #271feb 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.0741

Readable text 8.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #413fa5 ≈ 0.001% of males
Protanopia #0057f0 ≈ 1.01% of males
Deuteranopia #0042e8 ≈ 1.27% of males
Tritanopia #00668c ≈ 0.0001% of males
Protanomaly #0047ee ≈ 1.08% of males
Deuteranomaly #0037e9 ≈ 4.63% of males
Tritanomaly #0053ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#271feb  rgb(39, 31, 235)  hsl(242, 84%, 52%)  Blue
#e3eb1f  rgb(227, 235, 31)  hsl(62, 84%, 52%)  Pear
#eb271f  rgb(235, 39, 31)  hsl(2, 84%, 52%)  Lust
#1feb27  rgb(31, 235, 39)  hsl(122, 84%, 52%)  Lime