#040648

#040648 ≈ Midnight Blue

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

#040648 is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 2.35% green and 28.24% blue; printed in CMYK it uses 94.44% cyan, 91.67% magenta, 0% yellow and 71.76% black. Its hue angle is 238.24°, with 89.47% 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.67:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.36.

Description generated from the measured properties of this color.

Conversions of #040648 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.0062

Readable text 18.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.12:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #121212 ≈ 0.003% of males
Achromatomaly #0e0e30 ≈ 0.001% of males
Protanopia #00164a ≈ 1.01% of males
Deuteranopia #000f47 ≈ 1.27% of males
Tritanopia #001b28 ≈ 0.0001% of males
Protanomaly #001149 ≈ 1.08% of males
Deuteranomaly #000c47 ≈ 4.63% of males
Tritanomaly #001537 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040648 {
  color: #040648;
}
Background
.bg-040648 {
  background-color: #040648;
  color: #ffffff;
}
Border
.border-040648 {
  border: 2px solid #040648;
}
CSS variables
:root {
  --color-primary: #040648;
  --color-primary-rgb: 4 6 72;
  --color-primary-hsl: 238 89% 15%;
}
Gradient
.gradient-040648 {
  background: linear-gradient(135deg, #040648, #240448);
}
Colored shadow
.shadow-040648 {
  box-shadow: 0 8px 24px rgb(4 6 72 / 0.35);
}

Midnight Blue
#040648  rgb(4, 6, 72)  hsl(238, 89%, 15%)  Midnight Blue
#484604  rgb(72, 70, 4)  hsl(58, 89%, 15%)  Army Green
#480406  rgb(72, 4, 6)  hsl(358, 89%, 15%)  Rosewood
#064804  rgb(6, 72, 4)  hsl(118, 89%, 15%)  Lincoln Green