#020797

#020797 ≈ Dark Blue

  • blue
  • Lightness: low
  • Saturation: strong
  • Cool

#020797 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 0.78% red, 2.75% green and 59.22% blue; printed in CMYK it uses 98.68% cyan, 95.36% magenta, 0% yellow and 40.78% black. Its hue angle is 237.99°, with 97.39% saturation and 30% 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 14.19:1 (WCAG AAA). The closest named color is Dark Blue (#00008b), ΔE 2.01.

Description generated from the measured properties of this color.

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

Readable text 14.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2b2b2b ≈ 0.003% of males
Achromatomaly #202168 ≈ 0.001% of males
Protanopia #00329b ≈ 1.01% of males
Deuteranopia #002295 ≈ 1.27% of males
Tritanopia #003e57 ≈ 0.0001% of males
Protanomaly #002799 ≈ 1.08% of males
Deuteranomaly #001a96 ≈ 4.63% of males
Tritanomaly #003076 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-020797 {
  color: #020797;
}
Background
.bg-020797 {
  background-color: #020797;
  color: #ffffff;
}
Border
.border-020797 {
  border: 2px solid #020797;
}
CSS variables
:root {
  --color-primary: #020797;
  --color-primary-rgb: 2 7 151;
  --color-primary-hsl: 238 97% 30%;
}
Gradient
.gradient-020797 {
  background: linear-gradient(135deg, #020797, #480297);
}
Colored shadow
.shadow-020797 {
  box-shadow: 0 8px 24px rgb(2 7 151 / 0.35);
}

Dark Blue
#020797  rgb(2, 7, 151)  hsl(238, 97%, 30%)  Dark Blue
#979202  rgb(151, 146, 2)  hsl(58, 97%, 30%)  Olive
#970207  rgb(151, 2, 7)  hsl(358, 97%, 30%)  Sangria
#079702  rgb(7, 151, 2)  hsl(118, 97%, 30%)  Islamic Green