#2A2B68

#2a2b68 ≈ Midnight Blue

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

#2a2b68 is a color from the blue family, with low lightness and muted saturation. In the RGB model it is made of 16.47% red, 16.86% green and 40.78% blue; printed in CMYK it uses 59.62% cyan, 58.65% magenta, 0% yellow and 59.22% black. Its hue angle is 239.03°, with 42.47% saturation and 28.63% 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.77:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.24.

Description generated from the measured properties of this color.

Conversions of #2a2b68 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.0322

Readable text 12.77:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #323232 ≈ 0.003% of males
Achromatomaly #2f2f4d ≈ 0.001% of males
Protanopia #02356a ≈ 1.01% of males
Deuteranopia #003067 ≈ 1.27% of males
Tritanopia #083945 ≈ 0.0001% of males
Protanomaly #193169 ≈ 1.08% of males
Deuteranomaly #162e67 ≈ 4.63% of males
Tritanomaly #1b3455 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a2b68 {
  color: #2a2b68;
}
Background
.bg-2a2b68 {
  background-color: #2a2b68;
  color: #ffffff;
}
Border
.border-2a2b68 {
  border: 2px solid #2a2b68;
}
CSS variables
:root {
  --color-primary: #2a2b68;
  --color-primary-rgb: 42 43 104;
  --color-primary-hsl: 239 42% 29%;
}
Gradient
.gradient-2a2b68 {
  background: linear-gradient(135deg, #2a2b68, #482a68);
}
Colored shadow
.shadow-2a2b68 {
  box-shadow: 0 8px 24px rgb(42 43 104 / 0.35);
}

Midnight Blue
#2a2b68  rgb(42, 43, 104)  hsl(239, 42%, 29%)  Midnight Blue
#68672a  rgb(104, 103, 42)  hsl(59, 42%, 29%)  Dark Olive Green
#682a2b  rgb(104, 42, 43)  hsl(359, 42%, 29%)  Wine
#2b682a  rgb(43, 104, 42)  hsl(119, 42%, 29%)  Pakistan Green