#271CCC

#271ccc ≈ Medium Blue

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

#271ccc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 15.29% red, 10.98% green and 80% blue; printed in CMYK it uses 80.88% cyan, 86.27% magenta, 0% yellow and 20% black. Its hue angle is 243.75°, with 75.86% saturation and 45.49% 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.89:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.04.

Description generated from the measured properties of this color.

Conversions of #271ccc 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.0562

Readable text 9.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.12:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #3a378f ≈ 0.001% of males
Protanopia #004cd1 ≈ 1.01% of males
Deuteranopia #003ac9 ≈ 1.27% of males
Tritanopia #005879 ≈ 0.0001% of males
Protanomaly #003ecf ≈ 1.08% of males
Deuteranomaly #0030ca ≈ 4.63% of males
Tritanomaly #0047a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-271ccc {
  color: #271ccc;
}
Background
.bg-271ccc {
  background-color: #271ccc;
  color: #ffffff;
}
Border
.border-271ccc {
  border: 2px solid #271ccc;
}
CSS variables
:root {
  --color-primary: #271ccc;
  --color-primary-rgb: 39 28 204;
  --color-primary-hsl: 244 76% 45%;
}
Gradient
.gradient-271ccc {
  background: linear-gradient(135deg, #271ccc, #7f1ccc);
}
Colored shadow
.shadow-271ccc {
  box-shadow: 0 8px 24px rgb(39 28 204 / 0.35);
}

Medium Blue
#271ccc  rgb(39, 28, 204)  hsl(244, 76%, 45%)  Medium Blue
#c1cc1c  rgb(193, 204, 28)  hsl(64, 76%, 45%)  Pear
#cc271c  rgb(204, 39, 28)  hsl(4, 76%, 45%)  Venetian Red
#1ccc27  rgb(28, 204, 39)  hsl(124, 76%, 45%)  Lime Green