#2E183E

#2e183e ≈ Midnight Blue

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

#2e183e is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 18.04% red, 9.41% green and 24.31% blue; printed in CMYK it uses 25.81% cyan, 61.29% magenta, 0% yellow and 75.69% black. Its hue angle is 274.74°, with 44.19% saturation and 16.86% 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 15.95:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 12.85.

Description generated from the measured properties of this color.

Conversions of #2e183e 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.0158

Readable text 15.95:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #222222 ≈ 0.003% of males
Achromatomaly #271e2f ≈ 0.001% of males
Protanopia #0d213f ≈ 1.01% of males
Deuteranopia #14223d ≈ 1.27% of males
Tritanopia #2c1f28 ≈ 0.0001% of males
Protanomaly #1e1e3f ≈ 1.08% of males
Deuteranomaly #211e3d ≈ 4.63% of males
Tritanomaly #2d1c32 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2e183e {
  color: #2e183e;
}
Background
.bg-2e183e {
  background-color: #2e183e;
  color: #ffffff;
}
Border
.border-2e183e {
  border: 2px solid #2e183e;
}
CSS variables
:root {
  --color-primary: #2e183e;
  --color-primary-rgb: 46 24 62;
  --color-primary-hsl: 275 44% 17%;
}
Gradient
.gradient-2e183e {
  background: linear-gradient(135deg, #2e183e, #3e183b);
}
Colored shadow
.shadow-2e183e {
  box-shadow: 0 8px 24px rgb(46 24 62 / 0.35);
}

Midnight Blue
#2e183e  rgb(46, 24, 62)  hsl(275, 44%, 17%)  Midnight Blue
#283e18  rgb(40, 62, 24)  hsl(95, 44%, 17%)  British Racing Green
#3e2e18  rgb(62, 46, 24)  hsl(35, 44%, 17%)  Bistre
#183e2e  rgb(24, 62, 46)  hsl(155, 44%, 17%)  Phthalo Green