#302C6E

#302c6e ≈ Midnight Blue

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

#302c6e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 18.82% red, 17.25% green and 43.14% blue; printed in CMYK it uses 56.36% cyan, 60% magenta, 0% yellow and 56.86% black. Its hue angle is 243.64°, with 42.86% saturation and 30.2% 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 corporate identities. White text on this color reaches a contrast ratio of 12.27:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.05.

Description generated from the measured properties of this color.

Conversions of #302c6e 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.0356

Readable text 12.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #353535 ≈ 0.003% of males
Achromatomaly #333252 ≈ 0.001% of males
Protanopia #003770 ≈ 1.01% of males
Deuteranopia #00336d ≈ 1.27% of males
Tritanopia #153b48 ≈ 0.0001% of males
Protanomaly #1b336f ≈ 1.08% of males
Deuteranomaly #19306d ≈ 4.63% of males
Tritanomaly #22365a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-302c6e {
  color: #302c6e;
}
Background
.bg-302c6e {
  background-color: #302c6e;
  color: #ffffff;
}
Border
.border-302c6e {
  border: 2px solid #302c6e;
}
CSS variables
:root {
  --color-primary: #302c6e;
  --color-primary-rgb: 48 44 110;
  --color-primary-hsl: 244 43% 30%;
}
Gradient
.gradient-302c6e {
  background: linear-gradient(135deg, #302c6e, #512c6e);
}
Colored shadow
.shadow-302c6e {
  box-shadow: 0 8px 24px rgb(48 44 110 / 0.35);
}

Midnight Blue
#302c6e  rgb(48, 44, 110)  hsl(244, 43%, 30%)  Midnight Blue
#6a6e2c  rgb(106, 110, 44)  hsl(64, 43%, 30%)  Dark Olive Green
#6e302c  rgb(110, 48, 44)  hsl(4, 43%, 30%)  Wine
#2c6e30  rgb(44, 110, 48)  hsl(124, 43%, 30%)  Cadmium Green