#020F56

#020f56 ≈ Midnight Blue

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

#020f56 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.88% green and 33.73% blue; printed in CMYK it uses 97.67% cyan, 82.56% magenta, 0% yellow and 66.27% black. Its hue angle is 230.71°, with 95.45% saturation and 17.25% 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.42:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.81.

Description generated from the measured properties of this color.

Conversions of #020f56 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.0103

Readable text 17.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1a1a1a ≈ 0.003% of males
Achromatomaly #13163b ≈ 0.001% of males
Protanopia #001e58 ≈ 1.01% of males
Deuteranopia #001655 ≈ 1.27% of males
Tritanopia #002532 ≈ 0.0001% of males
Protanomaly #001957 ≈ 1.08% of males
Deuteranomaly #001355 ≈ 4.63% of males
Tritanomaly #001e43 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-020f56 {
  color: #020f56;
}
Background
.bg-020f56 {
  background-color: #020f56;
  color: #ffffff;
}
Border
.border-020f56 {
  border: 2px solid #020f56;
}
CSS variables
:root {
  --color-primary: #020f56;
  --color-primary-rgb: 2 15 86;
  --color-primary-hsl: 231 95% 17%;
}
Gradient
.gradient-020f56 {
  background: linear-gradient(135deg, #020f56, #1f0256);
}
Colored shadow
.shadow-020f56 {
  box-shadow: 0 8px 24px rgb(2 15 86 / 0.35);
}

Midnight Blue
#020f56  rgb(2, 15, 86)  hsl(231, 95%, 17%)  Midnight Blue
#564902  rgb(86, 73, 2)  hsl(51, 95%, 17%)  Field Drab
#56020f  rgb(86, 2, 15)  hsl(351, 95%, 17%)  Rosewood
#0f5602  rgb(15, 86, 2)  hsl(111, 95%, 17%)  Lincoln Green