#271FC8

#271fc8 ≈ Medium Blue

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

#271fc8 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 78.43% blue; printed in CMYK it uses 80.5% cyan, 84.5% magenta, 0% yellow and 21.57% black. Its hue angle is 242.84°, with 73.16% saturation and 45.29% 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.92:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.33.

Description generated from the measured properties of this color.

Conversions of #271fc8 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.0558

Readable text 9.92: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 #39388d ≈ 0.001% of males
Protanopia #004bcc ≈ 1.01% of males
Deuteranopia #003ac5 ≈ 1.27% of males
Tritanopia #005777 ≈ 0.0001% of males
Protanomaly #003ecb ≈ 1.08% of males
Deuteranomaly #0031c6 ≈ 4.63% of males
Tritanomaly #00479e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#271fc8  rgb(39, 31, 200)  hsl(243, 73%, 45%)  Medium Blue
#c0c81f  rgb(192, 200, 31)  hsl(63, 73%, 45%)  Pear
#c8271f  rgb(200, 39, 31)  hsl(3, 73%, 45%)  Venetian Red
#1fc827  rgb(31, 200, 39)  hsl(123, 73%, 45%)  Lime Green