#040C82

#040c82 ≈ Phthalo Blue

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

#040c82 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 4.71% green and 50.98% blue; printed in CMYK it uses 96.92% cyan, 90.77% magenta, 0% yellow and 49.02% black. Its hue angle is 236.19°, with 94.03% saturation and 26.27% 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 15.22:1 (WCAG AAA). The closest named color is Phthalo Blue (#000f89), ΔE 1.11.

Description generated from the measured properties of this color.

Conversions of #040c82 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.019

Readable text 15.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #262626 ≈ 0.003% of males
Achromatomaly #1c1e59 ≈ 0.001% of males
Protanopia #002c85 ≈ 1.01% of males
Deuteranopia #001f80 ≈ 1.27% of males
Tritanopia #00364b ≈ 0.0001% of males
Protanomaly #002384 ≈ 1.08% of males
Deuteranomaly #001981 ≈ 4.63% of males
Tritanomaly #002a66 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Phthalo Blue
#040c82  rgb(4, 12, 130)  hsl(236, 94%, 26%)  Phthalo Blue
#827a04  rgb(130, 122, 4)  hsl(56, 94%, 26%)  Olive
#82040c  rgb(130, 4, 12)  hsl(356, 94%, 26%)  Maroon
#0c8204  rgb(12, 130, 4)  hsl(116, 94%, 26%)  Green