#271BB8

#271bb8 ≈ Medium Blue

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

#271bb8 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.59% green and 72.16% blue; printed in CMYK it uses 78.8% cyan, 85.33% magenta, 0% yellow and 27.84% black. Its hue angle is 244.59°, with 74.41% saturation and 41.37% 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.85: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 #271bb8 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.0468

Readable text 10.85:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3d3d3d ≈ 0.003% of males
Achromatomaly #353281 ≈ 0.001% of males
Protanopia #0044bc ≈ 1.01% of males
Deuteranopia #0035b5 ≈ 1.27% of males
Tritanopia #00506d ≈ 0.0001% of males
Protanomaly #0038ba ≈ 1.08% of males
Deuteranomaly #002db6 ≈ 4.63% of males
Tritanomaly #004091 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-271bb8 {
  color: #271bb8;
}
Background
.bg-271bb8 {
  background-color: #271bb8;
  color: #ffffff;
}
Border
.border-271bb8 {
  border: 2px solid #271bb8;
}
CSS variables
:root {
  --color-primary: #271bb8;
  --color-primary-rgb: 39 27 184;
  --color-primary-hsl: 245 74% 41%;
}
Gradient
.gradient-271bb8 {
  background: linear-gradient(135deg, #271bb8, #761bb8);
}
Colored shadow
.shadow-271bb8 {
  box-shadow: 0 8px 24px rgb(39 27 184 / 0.35);
}

Medium Blue
#271bb8  rgb(39, 27, 184)  hsl(245, 74%, 41%)  Medium Blue
#acb81b  rgb(172, 184, 27)  hsl(65, 74%, 41%)  Apple Green
#b8271b  rgb(184, 39, 27)  hsl(5, 74%, 41%)  Cornell Red
#1bb827  rgb(27, 184, 39)  hsl(125, 74%, 41%)  Kelly Green