#2E154D

#2e154d ≈ Midnight Blue

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

#2e154d 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, 8.24% green and 30.2% blue; printed in CMYK it uses 40.26% cyan, 72.73% magenta, 0% yellow and 69.8% black. Its hue angle is 266.79°, with 57.14% saturation and 19.22% 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.78:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.55.

Description generated from the measured properties of this color.

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

Readable text 15.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #232323 ≈ 0.003% of males
Achromatomaly #281e38 ≈ 0.001% of males
Protanopia #00224f ≈ 1.01% of males
Deuteranopia #00224c ≈ 1.27% of males
Tritanopia #27222e ≈ 0.0001% of males
Protanomaly #181e4e ≈ 1.08% of males
Deuteranomaly #1b1e4c ≈ 4.63% of males
Tritanomaly #2a1d3d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2e154d {
  color: #2e154d;
}
Background
.bg-2e154d {
  background-color: #2e154d;
  color: #ffffff;
}
Border
.border-2e154d {
  border: 2px solid #2e154d;
}
CSS variables
:root {
  --color-primary: #2e154d;
  --color-primary-rgb: 46 21 77;
  --color-primary-hsl: 267 57% 19%;
}
Gradient
.gradient-2e154d {
  background: linear-gradient(135deg, #2e154d, #4a154d);
}
Colored shadow
.shadow-2e154d {
  box-shadow: 0 8px 24px rgb(46 21 77 / 0.35);
}

Midnight Blue
#2e154d  rgb(46, 21, 77)  hsl(267, 57%, 19%)  Midnight Blue
#344d15  rgb(52, 77, 21)  hsl(87, 57%, 19%)  Army Green
#4d2e15  rgb(77, 46, 21)  hsl(27, 57%, 19%)  Bistre
#154d2e  rgb(21, 77, 46)  hsl(147, 57%, 19%)  British Racing Green