#241E7F

#241e7f ≈ Midnight Blue

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

#241e7f is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 14.12% red, 11.76% green and 49.8% blue; printed in CMYK it uses 71.65% cyan, 76.38% magenta, 0% yellow and 50.2% black. Its hue angle is 243.71°, with 61.78% saturation and 30.78% 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 13.4:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.7.

Description generated from the measured properties of this color.

Conversions of #241e7f 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.0284

Readable text 13.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2f2f2f ≈ 0.003% of males
Achromatomaly #2b295a ≈ 0.001% of males
Protanopia #003382 ≈ 1.01% of males
Deuteranopia #002b7d ≈ 1.27% of males
Tritanopia #003a4d ≈ 0.0001% of males
Protanomaly #002c81 ≈ 1.08% of males
Deuteranomaly #00267e ≈ 4.63% of males
Tritanomaly #003165 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-241e7f {
  color: #241e7f;
}
Background
.bg-241e7f {
  background-color: #241e7f;
  color: #ffffff;
}
Border
.border-241e7f {
  border: 2px solid #241e7f;
}
CSS variables
:root {
  --color-primary: #241e7f;
  --color-primary-rgb: 36 30 127;
  --color-primary-hsl: 244 62% 31%;
}
Gradient
.gradient-241e7f {
  background: linear-gradient(135deg, #241e7f, #541e7f);
}
Colored shadow
.shadow-241e7f {
  box-shadow: 0 8px 24px rgb(36 30 127 / 0.35);
}

Midnight Blue
#241e7f  rgb(36, 30, 127)  hsl(244, 62%, 31%)  Midnight Blue
#797f1e  rgb(121, 127, 30)  hsl(64, 62%, 31%)  Olive
#7f241e  rgb(127, 36, 30)  hsl(4, 62%, 31%)  Falu Red
#1e7f24  rgb(30, 127, 36)  hsl(124, 62%, 31%)  Green