#272C71

#272c71 ≈ Midnight Blue

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

#272c71 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 15.29% red, 17.25% green and 44.31% blue; printed in CMYK it uses 65.49% cyan, 61.06% magenta, 0% yellow and 55.69% black. Its hue angle is 235.95°, with 48.68% saturation and 29.8% 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 12.46:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.65.

Description generated from the measured properties of this color.

Conversions of #272c71 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.0342

Readable text 12.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #343434 ≈ 0.003% of males
Achromatomaly #2f3153 ≈ 0.001% of males
Protanopia #003773 ≈ 1.01% of males
Deuteranopia #003170 ≈ 1.27% of males
Tritanopia #003d4a ≈ 0.0001% of males
Protanomaly #113372 ≈ 1.08% of males
Deuteranomaly #0a2f70 ≈ 4.63% of males
Tritanomaly #0e375c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-272c71 {
  color: #272c71;
}
Background
.bg-272c71 {
  background-color: #272c71;
  color: #ffffff;
}
Border
.border-272c71 {
  border: 2px solid #272c71;
}
CSS variables
:root {
  --color-primary: #272c71;
  --color-primary-rgb: 39 44 113;
  --color-primary-hsl: 236 49% 30%;
}
Gradient
.gradient-272c71 {
  background: linear-gradient(135deg, #272c71, #472771);
}
Colored shadow
.shadow-272c71 {
  box-shadow: 0 8px 24px rgb(39 44 113 / 0.35);
}

Midnight Blue
#272c71  rgb(39, 44, 113)  hsl(236, 49%, 30%)  Midnight Blue
#716c27  rgb(113, 108, 39)  hsl(56, 49%, 30%)  Dark Olive Green
#71272c  rgb(113, 39, 44)  hsl(356, 49%, 30%)  Wine
#2c7127  rgb(44, 113, 39)  hsl(116, 49%, 30%)  Pakistan Green