#271ECF

#271ecf ≈ Medium Blue

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

#271ecf 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 81.18% blue; printed in CMYK it uses 81.16% cyan, 85.51% magenta, 0% yellow and 18.82% black. Its hue angle is 243.05°, with 74.68% saturation and 46.47% 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.66:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.46.

Description generated from the measured properties of this color.

Conversions of #271ecf 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.0586

Readable text 9.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.17:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #444444 ≈ 0.003% of males
Achromatomaly #3b3991 ≈ 0.001% of males
Protanopia #004dd4 ≈ 1.01% of males
Deuteranopia #003bcc ≈ 1.27% of males
Tritanopia #005a7b ≈ 0.0001% of males
Protanomaly #003fd2 ≈ 1.08% of males
Deuteranomaly #0032cd ≈ 4.63% of males
Tritanomaly #0049a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#271ecf  rgb(39, 30, 207)  hsl(243, 75%, 46%)  Medium Blue
#c6cf1e  rgb(198, 207, 30)  hsl(63, 75%, 46%)  Pear
#cf271e  rgb(207, 39, 30)  hsl(3, 75%, 46%)  Lava
#1ecf27  rgb(30, 207, 39)  hsl(123, 75%, 46%)  Lime Green