#222762

#222762 ≈ Midnight Blue

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

#222762 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 13.33% red, 15.29% green and 38.43% blue; printed in CMYK it uses 65.31% cyan, 60.2% magenta, 0% yellow and 61.57% black. Its hue angle is 235.31°, with 48.48% saturation and 25.88% 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.68:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.85.

Description generated from the measured properties of this color.

Conversions of #222762 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.0267

Readable text 13.68:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2d2d2d ≈ 0.003% of males
Achromatomaly #292b48 ≈ 0.001% of males
Protanopia #003064 ≈ 1.01% of males
Deuteranopia #002b61 ≈ 1.27% of males
Tritanopia #003540 ≈ 0.0001% of males
Protanomaly #112d63 ≈ 1.08% of males
Deuteranomaly #0c2961 ≈ 4.63% of males
Tritanomaly #0e3050 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-222762 {
  color: #222762;
}
Background
.bg-222762 {
  background-color: #222762;
  color: #ffffff;
}
Border
.border-222762 {
  border: 2px solid #222762;
}
CSS variables
:root {
  --color-primary: #222762;
  --color-primary-rgb: 34 39 98;
  --color-primary-hsl: 235 48% 26%;
}
Gradient
.gradient-222762 {
  background: linear-gradient(135deg, #222762, #3d2262);
}
Colored shadow
.shadow-222762 {
  box-shadow: 0 8px 24px rgb(34 39 98 / 0.35);
}

Midnight Blue
#222762  rgb(34, 39, 98)  hsl(235, 48%, 26%)  Midnight Blue
#625d22  rgb(98, 93, 34)  hsl(55, 48%, 26%)  Army Green
#622227  rgb(98, 34, 39)  hsl(355, 48%, 26%)  Wine
#276222  rgb(39, 98, 34)  hsl(115, 48%, 26%)  Lincoln Green