#040C99

#040c99 ≈ Phthalo Blue

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

#040c99 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 4.71% green and 60% blue; printed in CMYK it uses 97.39% cyan, 92.16% magenta, 0% yellow and 40% black. Its hue angle is 236.78°, with 94.9% saturation and 30.78% 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 corporate identities. White text on this color reaches a contrast ratio of 13.84:1 (WCAG AAA). The closest named color is Phthalo Blue (#000f89), ΔE 2.29.

Description generated from the measured properties of this color.

Conversions of #040c99 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.0259

Readable text 13.84:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.52:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2d2d2d ≈ 0.003% of males
Achromatomaly #22236a ≈ 0.001% of males
Protanopia #00349d ≈ 1.01% of males
Deuteranopia #002497 ≈ 1.27% of males
Tritanopia #003f59 ≈ 0.0001% of males
Protanomaly #00299b ≈ 1.08% of males
Deuteranomaly #001d98 ≈ 4.63% of males
Tritanomaly #003278 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040c99 {
  color: #040c99;
}
Background
.bg-040c99 {
  background-color: #040c99;
  color: #ffffff;
}
Border
.border-040c99 {
  border: 2px solid #040c99;
}
CSS variables
:root {
  --color-primary: #040c99;
  --color-primary-rgb: 4 12 153;
  --color-primary-hsl: 237 95% 31%;
}
Gradient
.gradient-040c99 {
  background: linear-gradient(135deg, #040c99, #460499);
}
Colored shadow
.shadow-040c99 {
  box-shadow: 0 8px 24px rgb(4 12 153 / 0.35);
}

Phthalo Blue
#040c99  rgb(4, 12, 153)  hsl(237, 95%, 31%)  Phthalo Blue
#999104  rgb(153, 145, 4)  hsl(57, 95%, 31%)  Olive
#99040c  rgb(153, 4, 12)  hsl(357, 95%, 31%)  Sangria
#0c9904  rgb(12, 153, 4)  hsl(117, 95%, 31%)  Islamic Green