#2B183F

#2b183f ≈ Midnight Blue

  • violet
  • Lightness: very low
  • Saturation: muted
  • Cool

#2b183f is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 16.86% red, 9.41% green and 24.71% blue; printed in CMYK it uses 31.75% cyan, 61.9% magenta, 0% yellow and 75.29% black. Its hue angle is 269.23°, with 44.83% saturation and 17.06% 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 16.09:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 12.1.

Description generated from the measured properties of this color.

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

Readable text 16.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #212121 ≈ 0.003% of males
Achromatomaly #251e30 ≈ 0.001% of males
Protanopia #0a2140 ≈ 1.01% of males
Deuteranopia #11213e ≈ 1.27% of males
Tritanopia #271f28 ≈ 0.0001% of males
Protanomaly #1c1d40 ≈ 1.08% of males
Deuteranomaly #1e1e3e ≈ 4.63% of males
Tritanomaly #291d33 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2b183f {
  color: #2b183f;
}
Background
.bg-2b183f {
  background-color: #2b183f;
  color: #ffffff;
}
Border
.border-2b183f {
  border: 2px solid #2b183f;
}
CSS variables
:root {
  --color-primary: #2b183f;
  --color-primary-rgb: 43 24 63;
  --color-primary-hsl: 269 45% 17%;
}
Gradient
.gradient-2b183f {
  background: linear-gradient(135deg, #2b183f, #3f183f);
}
Colored shadow
.shadow-2b183f {
  box-shadow: 0 8px 24px rgb(43 24 63 / 0.35);
}

Midnight Blue
#2b183f  rgb(43, 24, 63)  hsl(269, 45%, 17%)  Midnight Blue
#2c3f18  rgb(44, 63, 24)  hsl(89, 45%, 17%)  Army Green
#3f2b18  rgb(63, 43, 24)  hsl(29, 45%, 17%)  Bistre
#183f2b  rgb(24, 63, 43)  hsl(149, 45%, 17%)  Phthalo Green