#271FC4

#271fc4 ≈ Medium Blue

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

#271fc4 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 76.86% blue; printed in CMYK it uses 80.1% cyan, 84.18% magenta, 0% yellow and 23.14% black. Its hue angle is 242.91°, with 72.69% saturation and 44.51% 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 10.1:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.29.

Description generated from the measured properties of this color.

Conversions of #271fc4 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.054

Readable text 10.1:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.08:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #424242 ≈ 0.003% of males
Achromatomaly #39378a ≈ 0.001% of males
Protanopia #004ac8 ≈ 1.01% of males
Deuteranopia #0039c1 ≈ 1.27% of males
Tritanopia #005675 ≈ 0.0001% of males
Protanomaly #003dc7 ≈ 1.08% of males
Deuteranomaly #0030c2 ≈ 4.63% of males
Tritanomaly #00469b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#271fc4  rgb(39, 31, 196)  hsl(243, 73%, 45%)  Medium Blue
#bcc41f  rgb(188, 196, 31)  hsl(63, 73%, 45%)  Pear
#c4271f  rgb(196, 39, 31)  hsl(3, 73%, 45%)  Venetian Red
#1fc427  rgb(31, 196, 39)  hsl(123, 73%, 45%)  Lime Green