#2B1B65

#2b1b65 ≈ Midnight Blue

  • violet
  • Lightness: low
  • Saturation: moderate
  • Cool

#2b1b65 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 16.86% red, 10.59% green and 39.61% blue; printed in CMYK it uses 57.43% cyan, 73.27% magenta, 0% yellow and 60.39% black. Its hue angle is 252.97°, with 57.81% saturation and 25.1% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 14.51:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.52.

Description generated from the measured properties of this color.

Conversions of #2b1b65 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.0224

Readable text 14.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #292929 ≈ 0.003% of males
Achromatomaly #2a2448 ≈ 0.001% of males
Protanopia #002b67 ≈ 1.01% of males
Deuteranopia #002764 ≈ 1.27% of males
Tritanopia #122e3d ≈ 0.0001% of males
Protanomaly #092666 ≈ 1.08% of males
Deuteranomaly #092364 ≈ 4.63% of males
Tritanomaly #1f2850 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2b1b65 {
  color: #2b1b65;
}
Background
.bg-2b1b65 {
  background-color: #2b1b65;
  color: #ffffff;
}
Border
.border-2b1b65 {
  border: 2px solid #2b1b65;
}
CSS variables
:root {
  --color-primary: #2b1b65;
  --color-primary-rgb: 43 27 101;
  --color-primary-hsl: 253 58% 25%;
}
Gradient
.gradient-2b1b65 {
  background: linear-gradient(135deg, #2b1b65, #501b65);
}
Colored shadow
.shadow-2b1b65 {
  box-shadow: 0 8px 24px rgb(43 27 101 / 0.35);
}

Midnight Blue
#2b1b65  rgb(43, 27, 101)  hsl(253, 58%, 25%)  Midnight Blue
#55651b  rgb(85, 101, 27)  hsl(73, 58%, 25%)  Dark Olive Green
#652b1b  rgb(101, 43, 27)  hsl(13, 58%, 25%)  Caput Mortuum
#1b652b  rgb(27, 101, 43)  hsl(133, 58%, 25%)  Cadmium Green