#2B277A

#2b277a ≈ Midnight Blue

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

#2b277a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 16.86% red, 15.29% green and 47.84% blue; printed in CMYK it uses 64.75% cyan, 68.03% magenta, 0% yellow and 52.16% black. Its hue angle is 242.89°, with 51.55% saturation and 31.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 corporate identities. White text on this color reaches a contrast ratio of 12.55:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.99.

Description generated from the measured properties of this color.

Conversions of #2b277a 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.0337

Readable text 12.55:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #333333 ≈ 0.003% of males
Achromatomaly #302f58 ≈ 0.001% of males
Protanopia #00377d ≈ 1.01% of males
Deuteranopia #003078 ≈ 1.27% of males
Tritanopia #003c4d ≈ 0.0001% of males
Protanomaly #03317c ≈ 1.08% of males
Deuteranomaly #002d79 ≈ 4.63% of males
Tritanomaly #123562 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2b277a {
  color: #2b277a;
}
Background
.bg-2b277a {
  background-color: #2b277a;
  color: #ffffff;
}
Border
.border-2b277a {
  border: 2px solid #2b277a;
}
CSS variables
:root {
  --color-primary: #2b277a;
  --color-primary-rgb: 43 39 122;
  --color-primary-hsl: 243 52% 32%;
}
Gradient
.gradient-2b277a {
  background: linear-gradient(135deg, #2b277a, #55277a);
}
Colored shadow
.shadow-2b277a {
  box-shadow: 0 8px 24px rgb(43 39 122 / 0.35);
}

Midnight Blue
#2b277a  rgb(43, 39, 122)  hsl(243, 52%, 32%)  Midnight Blue
#767a27  rgb(118, 122, 39)  hsl(63, 52%, 32%)  Olive
#7a2b27  rgb(122, 43, 39)  hsl(3, 52%, 32%)  Falu Red
#277a2b  rgb(39, 122, 43)  hsl(123, 52%, 32%)  Green