#271CB8

#271cb8 ≈ Medium Blue

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

#271cb8 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 72.16% blue; printed in CMYK it uses 78.8% cyan, 84.78% magenta, 0% yellow and 27.84% black. Its hue angle is 244.23°, with 73.58% saturation and 41.57% 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.8:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.3.

Description generated from the measured properties of this color.

Conversions of #271cb8 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.0472

Readable text 10.8: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 #363381 ≈ 0.001% of males
Protanopia #0045bc ≈ 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 #004191 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#271cb8  rgb(39, 28, 184)  hsl(244, 74%, 42%)  Medium Blue
#adb81c  rgb(173, 184, 28)  hsl(64, 74%, 42%)  Apple Green
#b8271c  rgb(184, 39, 28)  hsl(4, 74%, 42%)  Cornell Red
#1cb827  rgb(28, 184, 39)  hsl(124, 74%, 42%)  Kelly Green