#2D2E64

#2d2e64 ≈ Midnight Blue

  • blue
  • Lightness: low
  • Saturation: muted
  • Cool

#2d2e64 is a color from the blue family, with low lightness and muted saturation. In the RGB model it is made of 17.65% red, 18.04% green and 39.22% blue; printed in CMYK it uses 55% cyan, 54% magenta, 0% yellow and 60.78% black. Its hue angle is 238.91°, with 37.93% 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 12.45:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.83.

Description generated from the measured properties of this color.

Conversions of #2d2e64 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.0343

Readable text 12.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #343434 ≈ 0.003% of males
Achromatomaly #31324c ≈ 0.001% of males
Protanopia #133666 ≈ 1.01% of males
Deuteranopia #0d3263 ≈ 1.27% of males
Tritanopia #163a44 ≈ 0.0001% of males
Protanomaly #203365 ≈ 1.08% of males
Deuteranomaly #1e3063 ≈ 4.63% of males
Tritanomaly #213553 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d2e64 {
  color: #2d2e64;
}
Background
.bg-2d2e64 {
  background-color: #2d2e64;
  color: #ffffff;
}
Border
.border-2d2e64 {
  border: 2px solid #2d2e64;
}
CSS variables
:root {
  --color-primary: #2d2e64;
  --color-primary-rgb: 45 46 100;
  --color-primary-hsl: 239 38% 28%;
}
Gradient
.gradient-2d2e64 {
  background: linear-gradient(135deg, #2d2e64, #472d64);
}
Colored shadow
.shadow-2d2e64 {
  box-shadow: 0 8px 24px rgb(45 46 100 / 0.35);
}

Midnight Blue
#2d2e64  rgb(45, 46, 100)  hsl(239, 38%, 28%)  Midnight Blue
#64632d  rgb(100, 99, 45)  hsl(59, 38%, 28%)  Army Green
#642d2e  rgb(100, 45, 46)  hsl(359, 38%, 28%)  Wine
#2e642d  rgb(46, 100, 45)  hsl(119, 38%, 28%)  Hunter Green