#271CBF

#271cbf ≈ Medium Blue

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

#271cbf 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 74.9% blue; printed in CMYK it uses 79.58% cyan, 85.34% magenta, 0% yellow and 25.1% black. Its hue angle is 244.05°, with 74.43% saturation and 42.94% 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.48:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.95.

Description generated from the measured properties of this color.

Conversions of #271cbf 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.0502

Readable text 10.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3f3f3f ≈ 0.003% of males
Achromatomaly #373486 ≈ 0.001% of males
Protanopia #0047c3 ≈ 1.01% of males
Deuteranopia #0037bc ≈ 1.27% of males
Tritanopia #005371 ≈ 0.0001% of males
Protanomaly #003ac2 ≈ 1.08% of males
Deuteranomaly #002ebd ≈ 4.63% of males
Tritanomaly #004397 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#271cbf  rgb(39, 28, 191)  hsl(244, 74%, 43%)  Medium Blue
#b4bf1c  rgb(180, 191, 28)  hsl(64, 74%, 43%)  Apple Green
#bf271c  rgb(191, 39, 28)  hsl(4, 74%, 43%)  Venetian Red
#1cbf27  rgb(28, 191, 39)  hsl(124, 74%, 43%)  Kelly Green