#271ECD

#271ecd ≈ Medium Blue

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

#271ecd is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 15.29% red, 11.76% green and 80.39% blue; printed in CMYK it uses 80.98% cyan, 85.37% magenta, 0% yellow and 19.61% black. Its hue angle is 243.09°, with 74.47% saturation and 46.08% 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.75:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.36.

Description generated from the measured properties of this color.

Conversions of #271ecd 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.0577

Readable text 9.75:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.15:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #444444 ≈ 0.003% of males
Achromatomaly #3a3890 ≈ 0.001% of males
Protanopia #004cd2 ≈ 1.01% of males
Deuteranopia #003bca ≈ 1.27% of males
Tritanopia #00597a ≈ 0.0001% of males
Protanomaly #003fd0 ≈ 1.08% of males
Deuteranomaly #0031cb ≈ 4.63% of males
Tritanomaly #0048a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#271ecd  rgb(39, 30, 205)  hsl(243, 74%, 46%)  Medium Blue
#c4cd1e  rgb(196, 205, 30)  hsl(63, 74%, 46%)  Pear
#cd271e  rgb(205, 39, 30)  hsl(3, 74%, 46%)  Lava
#1ecd27  rgb(30, 205, 39)  hsl(123, 74%, 46%)  Lime Green