#040A8D

#040a8d ≈ Phthalo Blue

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

#040a8d is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 3.92% green and 55.29% blue; printed in CMYK it uses 97.16% cyan, 92.91% magenta, 0% yellow and 44.71% black. Its hue angle is 237.37°, with 94.48% saturation and 28.43% 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 14.65:1 (WCAG AAA). The closest named color is Phthalo Blue (#000f89), ΔE 0.97.

Description generated from the measured properties of this color.

Conversions of #040a8d 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.0217

Readable text 14.65:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #1f2061 ≈ 0.001% of males
Protanopia #002f90 ≈ 1.01% of males
Deuteranopia #00218b ≈ 1.27% of males
Tritanopia #003a51 ≈ 0.0001% of males
Protanomaly #00258f ≈ 1.08% of males
Deuteranomaly #001a8c ≈ 4.63% of males
Tritanomaly #002d6e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040a8d {
  color: #040a8d;
}
Background
.bg-040a8d {
  background-color: #040a8d;
  color: #ffffff;
}
Border
.border-040a8d {
  border: 2px solid #040a8d;
}
CSS variables
:root {
  --color-primary: #040a8d;
  --color-primary-rgb: 4 10 141;
  --color-primary-hsl: 237 94% 28%;
}
Gradient
.gradient-040a8d {
  background: linear-gradient(135deg, #040a8d, #42048d);
}
Colored shadow
.shadow-040a8d {
  box-shadow: 0 8px 24px rgb(4 10 141 / 0.35);
}

Phthalo Blue
#040a8d  rgb(4, 10, 141)  hsl(237, 94%, 28%)  Phthalo Blue
#8d8704  rgb(141, 135, 4)  hsl(57, 94%, 28%)  Olive
#8d040a  rgb(141, 4, 10)  hsl(357, 94%, 28%)  Sangria
#0a8d04  rgb(10, 141, 4)  hsl(117, 94%, 28%)  Islamic Green