#271FD2

#271fd2 ≈ Medium Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#271fd2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 15.29% red, 12.16% green and 82.35% blue; printed in CMYK it uses 81.43% cyan, 85.24% magenta, 0% yellow and 17.65% black. Its hue angle is 242.68°, with 74.27% saturation and 47.25% 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 brand accents. White text on this color reaches a contrast ratio of 9.49:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.77.

Description generated from the measured properties of this color.

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

Readable text 9.49:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #464646 ≈ 0.003% of males
Achromatomaly #3c3a94 ≈ 0.001% of males
Protanopia #004ed7 ≈ 1.01% of males
Deuteranopia #003ccf ≈ 1.27% of males
Tritanopia #005c7d ≈ 0.0001% of males
Protanomaly #0040d5 ≈ 1.08% of males
Deuteranomaly #0033d0 ≈ 4.63% of males
Tritanomaly #004aa6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#271fd2  rgb(39, 31, 210)  hsl(243, 74%, 47%)  Medium Blue
#cad21f  rgb(202, 210, 31)  hsl(63, 74%, 47%)  Pear
#d2271f  rgb(210, 39, 31)  hsl(3, 74%, 47%)  Lava
#1fd227  rgb(31, 210, 39)  hsl(123, 74%, 47%)  Lime Green