#271FCC

#271fcc ≈ Medium Blue

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

#271fcc 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 80% blue; printed in CMYK it uses 80.88% cyan, 84.8% magenta, 0% yellow and 20% black. Its hue angle is 242.77°, with 73.62% 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.45.

Description generated from the measured properties of this color.

Conversions of #271fcc 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 #3a388f ≈ 0.001% of males
Protanopia #004cd1 ≈ 1.01% of males
Deuteranopia #003bc9 ≈ 1.27% of males
Tritanopia #00597a ≈ 0.0001% of males
Protanomaly #003fcf ≈ 1.08% of males
Deuteranomaly #0032ca ≈ 4.63% of males
Tritanomaly #0048a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#271fcc  rgb(39, 31, 204)  hsl(243, 74%, 46%)  Medium Blue
#c4cc1f  rgb(196, 204, 31)  hsl(63, 74%, 46%)  Pear
#cc271f  rgb(204, 39, 31)  hsl(3, 74%, 46%)  Lava
#1fcc27  rgb(31, 204, 39)  hsl(123, 74%, 46%)  Lime Green