#271CCF

#271ccf ≈ Medium Blue

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

#271ccf 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 81.18% blue; printed in CMYK it uses 81.16% cyan, 86.47% magenta, 0% yellow and 18.82% black. Its hue angle is 243.69°, with 76.17% 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.2.

Description generated from the measured properties of this color.

Conversions of #271ccf 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 #3a3891 ≈ 0.001% of males
Protanopia #004dd4 ≈ 1.01% of males
Deuteranopia #003bcc ≈ 1.27% of males
Tritanopia #005a7b ≈ 0.0001% of males
Protanomaly #003ed2 ≈ 1.08% of males
Deuteranomaly #0031cd ≈ 4.63% of males
Tritanomaly #0048a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#271ccf  rgb(39, 28, 207)  hsl(244, 76%, 46%)  Medium Blue
#c4cf1c  rgb(196, 207, 28)  hsl(64, 76%, 46%)  Pear
#cf271c  rgb(207, 39, 28)  hsl(4, 76%, 46%)  Lava
#1ccf27  rgb(28, 207, 39)  hsl(124, 76%, 46%)  Lime Green