#020D50

#020d50 ≈ Midnight Blue

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

#020d50 is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 5.1% green and 31.37% blue; printed in CMYK it uses 97.5% cyan, 83.75% magenta, 0% yellow and 68.63% black. Its hue angle is 231.54°, with 95.12% saturation and 16.08% 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 17.86:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.82.

Description generated from the measured properties of this color.

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

Readable text 17.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.18:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #171717 ≈ 0.003% of males
Achromatomaly #111436 ≈ 0.001% of males
Protanopia #001b52 ≈ 1.01% of males
Deuteranopia #00134f ≈ 1.27% of males
Tritanopia #00212e ≈ 0.0001% of males
Protanomaly #001751 ≈ 1.08% of males
Deuteranomaly #00114f ≈ 4.63% of males
Tritanomaly #001b3e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-020d50 {
  color: #020d50;
}
Background
.bg-020d50 {
  background-color: #020d50;
  color: #ffffff;
}
Border
.border-020d50 {
  border: 2px solid #020d50;
}
CSS variables
:root {
  --color-primary: #020d50;
  --color-primary-rgb: 2 13 80;
  --color-primary-hsl: 232 95% 16%;
}
Gradient
.gradient-020d50 {
  background: linear-gradient(135deg, #020d50, #1e0250);
}
Colored shadow
.shadow-020d50 {
  box-shadow: 0 8px 24px rgb(2 13 80 / 0.35);
}

Midnight Blue
#020d50  rgb(2, 13, 80)  hsl(232, 95%, 16%)  Midnight Blue
#504502  rgb(80, 69, 2)  hsl(52, 95%, 16%)  Field Drab
#50020d  rgb(80, 2, 13)  hsl(352, 95%, 16%)  Rosewood
#0d5002  rgb(13, 80, 2)  hsl(112, 95%, 16%)  Lincoln Green