#271D60

#271d60 ≈ Midnight Blue

  • blue
  • Lightness: low
  • Saturation: moderate
  • Cool

#271d60 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 15.29% red, 11.37% green and 37.65% blue; printed in CMYK it uses 59.38% cyan, 69.79% magenta, 0% yellow and 62.35% black. Its hue angle is 248.96°, with 53.6% saturation and 24.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 luxury branding. White text on this color reaches a contrast ratio of 14.68:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.05.

Description generated from the measured properties of this color.

Conversions of #271d60 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333366
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0215

Readable text 14.68:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #282445 ≈ 0.001% of males
Protanopia #002a62 ≈ 1.01% of males
Deuteranopia #00265f ≈ 1.27% of males
Tritanopia #0c2e3b ≈ 0.0001% of males
Protanomaly #0b2661 ≈ 1.08% of males
Deuteranomaly #0a235f ≈ 4.63% of males
Tritanomaly #1a284d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-271d60 {
  color: #271d60;
}
Background
.bg-271d60 {
  background-color: #271d60;
  color: #ffffff;
}
Border
.border-271d60 {
  border: 2px solid #271d60;
}
CSS variables
:root {
  --color-primary: #271d60;
  --color-primary-rgb: 39 29 96;
  --color-primary-hsl: 249 54% 25%;
}
Gradient
.gradient-271d60 {
  background: linear-gradient(135deg, #271d60, #491d60);
}
Colored shadow
.shadow-271d60 {
  box-shadow: 0 8px 24px rgb(39 29 96 / 0.35);
}

Midnight Blue
#271d60  rgb(39, 29, 96)  hsl(249, 54%, 25%)  Midnight Blue
#56601d  rgb(86, 96, 29)  hsl(69, 54%, 25%)  Army Green
#60271d  rgb(96, 39, 29)  hsl(9, 54%, 25%)  Caput Mortuum
#1d6027  rgb(29, 96, 39)  hsl(129, 54%, 25%)  Lincoln Green