#08217E

#08217e ≈ Midnight Blue

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

#08217e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 3.14% red, 12.94% green and 49.41% blue; printed in CMYK it uses 93.65% cyan, 73.81% magenta, 0% yellow and 50.59% black. Its hue angle is 227.29°, with 88.06% saturation and 26.27% 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.73:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.27.

Description generated from the measured properties of this color.

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

Readable text 13.73: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 #232959 ≈ 0.001% of males
Protanopia #003381 ≈ 1.01% of males
Deuteranopia #00287c ≈ 1.27% of males
Tritanopia #003c4d ≈ 0.0001% of males
Protanomaly #002d80 ≈ 1.08% of males
Deuteranomaly #00257d ≈ 4.63% of males
Tritanomaly #003364 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-08217e {
  color: #08217e;
}
Background
.bg-08217e {
  background-color: #08217e;
  color: #ffffff;
}
Border
.border-08217e {
  border: 2px solid #08217e;
}
CSS variables
:root {
  --color-primary: #08217e;
  --color-primary-rgb: 8 33 126;
  --color-primary-hsl: 227 88% 26%;
}
Gradient
.gradient-08217e {
  background: linear-gradient(135deg, #08217e, #2a087e);
}
Colored shadow
.shadow-08217e {
  box-shadow: 0 8px 24px rgb(8 33 126 / 0.35);
}

Midnight Blue
#08217e  rgb(8, 33, 126)  hsl(227, 88%, 26%)  Midnight Blue
#7e6508  rgb(126, 101, 8)  hsl(47, 88%, 26%)  Field Drab
#7e0821  rgb(126, 8, 33)  hsl(347, 88%, 26%)  Burgundy
#217e08  rgb(33, 126, 8)  hsl(107, 88%, 26%)  Green