#040D87

#040d87 ≈ Phthalo Blue

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

#040d87 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 5.1% green and 52.94% blue; printed in CMYK it uses 97.04% cyan, 90.37% magenta, 0% yellow and 47.06% black. Its hue angle is 235.88°, with 94.24% saturation and 27.25% 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.87:1 (WCAG AAA). The closest named color is Phthalo Blue (#000f89), ΔE 0.46.

Description generated from the measured properties of this color.

Conversions of #040d87 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.0206

Readable text 14.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.41:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #272727 ≈ 0.003% of males
Achromatomaly #1e1f5d ≈ 0.001% of males
Protanopia #002e8a ≈ 1.01% of males
Deuteranopia #002085 ≈ 1.27% of males
Tritanopia #00384e ≈ 0.0001% of males
Protanomaly #002489 ≈ 1.08% of males
Deuteranomaly #001a86 ≈ 4.63% of males
Tritanomaly #002c6a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040d87 {
  color: #040d87;
}
Background
.bg-040d87 {
  background-color: #040d87;
  color: #ffffff;
}
Border
.border-040d87 {
  border: 2px solid #040d87;
}
CSS variables
:root {
  --color-primary: #040d87;
  --color-primary-rgb: 4 13 135;
  --color-primary-hsl: 236 94% 27%;
}
Gradient
.gradient-040d87 {
  background: linear-gradient(135deg, #040d87, #3c0487);
}
Colored shadow
.shadow-040d87 {
  box-shadow: 0 8px 24px rgb(4 13 135 / 0.35);
}

Phthalo Blue
#040d87  rgb(4, 13, 135)  hsl(236, 94%, 27%)  Phthalo Blue
#877e04  rgb(135, 126, 4)  hsl(56, 94%, 27%)  Olive
#87040d  rgb(135, 4, 13)  hsl(356, 94%, 27%)  Sangria
#0d8704  rgb(13, 135, 4)  hsl(116, 94%, 27%)  India Green