#272F71

#272f71 ≈ Midnight Blue

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

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

Description generated from the measured properties of this color.

Conversions of #272f71 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.0366

Readable text 12.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #363636 ≈ 0.003% of males
Achromatomaly #303354 ≈ 0.001% of males
Protanopia #003973 ≈ 1.01% of males
Deuteranopia #003370 ≈ 1.27% of males
Tritanopia #003f4b ≈ 0.0001% of males
Protanomaly #153572 ≈ 1.08% of males
Deuteranomaly #0f3170 ≈ 4.63% of males
Tritanomaly #0e395c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#272f71  rgb(39, 47, 113)  hsl(234, 49%, 30%)  Midnight Blue
#716927  rgb(113, 105, 39)  hsl(54, 49%, 30%)  Field Drab
#71272f  rgb(113, 39, 47)  hsl(354, 49%, 30%)  Wine
#2f7127  rgb(47, 113, 39)  hsl(114, 49%, 30%)  Pakistan Green