#000540

#000540 ≈ Midnight Blue

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

#000540 is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 0% red, 1.96% green and 25.1% blue; printed in CMYK it uses 100% cyan, 92.19% magenta, 0% yellow and 74.9% black. Its hue angle is 235.31°, with 100% saturation and 12.55% 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 19.17:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.76.

Description generated from the measured properties of this color.

Conversions of #000540 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.0048

Readable text 19.17:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.1:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #0f0f0f ≈ 0.003% of males
Achromatomaly #090b2a ≈ 0.001% of males
Protanopia #001342 ≈ 1.01% of males
Deuteranopia #000b3f ≈ 1.27% of males
Tritanopia #001823 ≈ 0.0001% of males
Protanomaly #000e41 ≈ 1.08% of males
Deuteranomaly #00093f ≈ 4.63% of males
Tritanomaly #001231 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-000540 {
  color: #000540;
}
Background
.bg-000540 {
  background-color: #000540;
  color: #ffffff;
}
Border
.border-000540 {
  border: 2px solid #000540;
}
CSS variables
:root {
  --color-primary: #000540;
  --color-primary-rgb: 0 5 64;
  --color-primary-hsl: 235 100% 13%;
}
Gradient
.gradient-000540 {
  background: linear-gradient(135deg, #000540, #1b0040);
}
Colored shadow
.shadow-000540 {
  box-shadow: 0 8px 24px rgb(0 5 64 / 0.35);
}

Midnight Blue
#000540  rgb(0, 5, 64)  hsl(235, 100%, 13%)  Midnight Blue
#403b00  rgb(64, 59, 0)  hsl(55, 100%, 13%)  Army Green
#400005  rgb(64, 0, 5)  hsl(355, 100%, 13%)  Rosewood
#054000  rgb(5, 64, 0)  hsl(115, 100%, 13%)  Lincoln Green