#251247

#251247 ≈ Midnight Blue

  • violet
  • Lightness: very low
  • Saturation: muted
  • Cool

#251247 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 14.51% red, 7.06% green and 27.84% blue; printed in CMYK it uses 47.89% cyan, 74.65% magenta, 0% yellow and 72.16% black. Its hue angle is 261.51°, with 59.55% saturation and 17.45% 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 16.72:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.65.

Description generated from the measured properties of this color.

Conversions of #251247 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#330033
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0128

Readable text 16.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.26:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1e1e1e ≈ 0.003% of males
Achromatomaly #211a33 ≈ 0.001% of males
Protanopia #001e49 ≈ 1.01% of males
Deuteranopia #001d46 ≈ 1.27% of males
Tritanopia #1c1f2a ≈ 0.0001% of males
Protanomaly #101a48 ≈ 1.08% of males
Deuteranomaly #121946 ≈ 4.63% of males
Tritanomaly #201a38 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-251247 {
  color: #251247;
}
Background
.bg-251247 {
  background-color: #251247;
  color: #ffffff;
}
Border
.border-251247 {
  border: 2px solid #251247;
}
CSS variables
:root {
  --color-primary: #251247;
  --color-primary-rgb: 37 18 71;
  --color-primary-hsl: 262 60% 17%;
}
Gradient
.gradient-251247 {
  background: linear-gradient(135deg, #251247, #3f1247);
}
Colored shadow
.shadow-251247 {
  box-shadow: 0 8px 24px rgb(37 18 71 / 0.35);
}

Midnight Blue
#251247  rgb(37, 18, 71)  hsl(262, 60%, 17%)  Midnight Blue
#344712  rgb(52, 71, 18)  hsl(82, 60%, 17%)  Army Green
#472512  rgb(71, 37, 18)  hsl(22, 60%, 17%)  Bistre
#124725  rgb(18, 71, 37)  hsl(142, 60%, 17%)  British Racing Green