#242766

#242766 ≈ Midnight Blue

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

#242766 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 14.12% red, 15.29% green and 40% blue; printed in CMYK it uses 64.71% cyan, 61.76% magenta, 0% yellow and 60% black. Its hue angle is 237.27°, with 47.83% saturation and 27.06% 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 13.49:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.22.

Description generated from the measured properties of this color.

Conversions of #242766 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.0279

Readable text 13.49:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2e2e2e ≈ 0.003% of males
Achromatomaly #2b2c4b ≈ 0.001% of males
Protanopia #003168 ≈ 1.01% of males
Deuteranopia #002c65 ≈ 1.27% of males
Tritanopia #003642 ≈ 0.0001% of males
Protanomaly #102e67 ≈ 1.08% of males
Deuteranomaly #0b2a65 ≈ 4.63% of males
Tritanomaly #103153 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-242766 {
  color: #242766;
}
Background
.bg-242766 {
  background-color: #242766;
  color: #ffffff;
}
Border
.border-242766 {
  border: 2px solid #242766;
}
CSS variables
:root {
  --color-primary: #242766;
  --color-primary-rgb: 36 39 102;
  --color-primary-hsl: 237 48% 27%;
}
Gradient
.gradient-242766 {
  background: linear-gradient(135deg, #242766, #422466);
}
Colored shadow
.shadow-242766 {
  box-shadow: 0 8px 24px rgb(36 39 102 / 0.35);
}

Midnight Blue
#242766  rgb(36, 39, 102)  hsl(237, 48%, 27%)  Midnight Blue
#666324  rgb(102, 99, 36)  hsl(57, 48%, 27%)  Army Green
#662427  rgb(102, 36, 39)  hsl(357, 48%, 27%)  Wine
#276624  rgb(39, 102, 36)  hsl(117, 48%, 27%)  Dark Green