#02004C

#02004c ≈ Midnight Blue

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

#02004c 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, 0% green and 29.8% blue; printed in CMYK it uses 97.37% cyan, 100% magenta, 0% yellow and 70.2% black. Its hue angle is 241.58°, with 100% saturation and 14.9% 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 18.97:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.39.

Description generated from the measured properties of this color.

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

Readable text 18.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.11:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #101010 ≈ 0.003% of males
Achromatomaly #0b0b32 ≈ 0.001% of males
Protanopia #00144e ≈ 1.01% of males
Deuteranopia #000c4b ≈ 1.27% of males
Tritanopia #001a29 ≈ 0.0001% of males
Protanomaly #000e4d ≈ 1.08% of males
Deuteranomaly #00074b ≈ 4.63% of males
Tritanomaly #00133a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-02004c {
  color: #02004c;
}
Background
.bg-02004c {
  background-color: #02004c;
  color: #ffffff;
}
Border
.border-02004c {
  border: 2px solid #02004c;
}
CSS variables
:root {
  --color-primary: #02004c;
  --color-primary-rgb: 2 0 76;
  --color-primary-hsl: 242 100% 15%;
}
Gradient
.gradient-02004c {
  background: linear-gradient(135deg, #02004c, #28004c);
}
Colored shadow
.shadow-02004c {
  box-shadow: 0 8px 24px rgb(2 0 76 / 0.35);
}

Midnight Blue
#02004c  rgb(2, 0, 76)  hsl(242, 100%, 15%)  Midnight Blue
#4a4c00  rgb(74, 76, 0)  hsl(62, 100%, 15%)  Army Green
#4c0200  rgb(76, 2, 0)  hsl(2, 100%, 15%)  Rosewood
#004c02  rgb(0, 76, 2)  hsl(122, 100%, 15%)  Lincoln Green