#2E246D

#2e246d ≈ Midnight Blue

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

#2e246d is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 18.04% red, 14.12% green and 42.75% blue; printed in CMYK it uses 57.8% cyan, 66.97% magenta, 0% yellow and 57.25% black. Its hue angle is 248.22°, with 50.34% saturation and 28.43% 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 luxury branding. White text on this color reaches a contrast ratio of 13.21:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.01.

Description generated from the measured properties of this color.

Conversions of #2e246d 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.0295

Readable text 13.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.59:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #303030 ≈ 0.003% of males
Achromatomaly #2f2c4f ≈ 0.001% of males
Protanopia #00326f ≈ 1.01% of males
Deuteranopia #002d6c ≈ 1.27% of males
Tritanopia #113645 ≈ 0.0001% of males
Protanomaly #112d6e ≈ 1.08% of males
Deuteranomaly #102a6c ≈ 4.63% of males
Tritanomaly #203058 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2e246d {
  color: #2e246d;
}
Background
.bg-2e246d {
  background-color: #2e246d;
  color: #ffffff;
}
Border
.border-2e246d {
  border: 2px solid #2e246d;
}
CSS variables
:root {
  --color-primary: #2e246d;
  --color-primary-rgb: 46 36 109;
  --color-primary-hsl: 248 50% 28%;
}
Gradient
.gradient-2e246d {
  background: linear-gradient(135deg, #2e246d, #52246d);
}
Colored shadow
.shadow-2e246d {
  box-shadow: 0 8px 24px rgb(46 36 109 / 0.35);
}

Midnight Blue
#2e246d  rgb(46, 36, 109)  hsl(248, 50%, 28%)  Midnight Blue
#636d24  rgb(99, 109, 36)  hsl(68, 50%, 28%)  Dark Olive Green
#6d2e24  rgb(109, 46, 36)  hsl(8, 50%, 28%)  Caput Mortuum
#246d2e  rgb(36, 109, 46)  hsl(128, 50%, 28%)  Cadmium Green