#22257A

#22257a ≈ Midnight Blue

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

#22257a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 13.33% red, 14.51% green and 47.84% blue; printed in CMYK it uses 72.13% cyan, 69.67% magenta, 0% yellow and 52.16% black. Its hue angle is 237.95°, with 56.41% saturation and 30.59% 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.01:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.33.

Description generated from the measured properties of this color.

Conversions of #22257a 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.0307

Readable text 13.01:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #313131 ≈ 0.003% of males
Achromatomaly #2c2d57 ≈ 0.001% of males
Protanopia #00357d ≈ 1.01% of males
Deuteranopia #002d78 ≈ 1.27% of males
Tritanopia #003c4c ≈ 0.0001% of males
Protanomaly #002f7c ≈ 1.08% of males
Deuteranomaly #002a79 ≈ 4.63% of males
Tritanomaly #003462 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-22257a {
  color: #22257a;
}
Background
.bg-22257a {
  background-color: #22257a;
  color: #ffffff;
}
Border
.border-22257a {
  border: 2px solid #22257a;
}
CSS variables
:root {
  --color-primary: #22257a;
  --color-primary-rgb: 34 37 122;
  --color-primary-hsl: 238 56% 31%;
}
Gradient
.gradient-22257a {
  background: linear-gradient(135deg, #22257a, #4b227a);
}
Colored shadow
.shadow-22257a {
  box-shadow: 0 8px 24px rgb(34 37 122 / 0.35);
}

Midnight Blue
#22257a  rgb(34, 37, 122)  hsl(238, 56%, 31%)  Midnight Blue
#7a7722  rgb(122, 119, 34)  hsl(58, 56%, 31%)  Olive
#7a2225  rgb(122, 34, 37)  hsl(358, 56%, 31%)  Falu Red
#257a22  rgb(37, 122, 34)  hsl(118, 56%, 31%)  Green