#301657

#301657 ≈ Midnight Blue

  • violet
  • Lightness: low
  • Saturation: moderate
  • Cool

#301657 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 18.82% red, 8.63% green and 34.12% blue; printed in CMYK it uses 44.83% cyan, 74.71% magenta, 0% yellow and 65.88% black. Its hue angle is 264°, with 59.63% saturation and 21.37% 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.24:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.72.

Description generated from the measured properties of this color.

Conversions of #301657 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.0189

Readable text 15.24:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #252525 ≈ 0.003% of males
Achromatomaly #2a203f ≈ 0.001% of males
Protanopia #002659 ≈ 1.01% of males
Deuteranopia #002556 ≈ 1.27% of males
Tritanopia #262634 ≈ 0.0001% of males
Protanomaly #162058 ≈ 1.08% of males
Deuteranomaly #192056 ≈ 4.63% of males
Tritanomaly #2a2045 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-301657 {
  color: #301657;
}
Background
.bg-301657 {
  background-color: #301657;
  color: #ffffff;
}
Border
.border-301657 {
  border: 2px solid #301657;
}
CSS variables
:root {
  --color-primary: #301657;
  --color-primary-rgb: 48 22 87;
  --color-primary-hsl: 264 60% 21%;
}
Gradient
.gradient-301657 {
  background: linear-gradient(135deg, #301657, #501657);
}
Colored shadow
.shadow-301657 {
  box-shadow: 0 8px 24px rgb(48 22 87 / 0.35);
}

Midnight Blue
#301657  rgb(48, 22, 87)  hsl(264, 60%, 21%)  Midnight Blue
#3d5716  rgb(61, 87, 22)  hsl(84, 60%, 21%)  Army Green
#573016  rgb(87, 48, 22)  hsl(24, 60%, 21%)  Sepia
#165730  rgb(22, 87, 48)  hsl(144, 60%, 21%)  Hunter Green