#040D7C

#040d7c ≈ Phthalo Blue

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

#040d7c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 5.1% green and 48.63% blue; printed in CMYK it uses 96.77% cyan, 89.52% magenta, 0% yellow and 51.37% black. Its hue angle is 235.5°, with 93.75% saturation and 25.1% 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.51:1 (WCAG AAA). The closest named color is Phthalo Blue (#000f89), ΔE 1.89.

Description generated from the measured properties of this color.

Conversions of #040d7c into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#000066
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0177

Readable text 15.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #242424 ≈ 0.003% of males
Achromatomaly #1b1d55 ≈ 0.001% of males
Protanopia #002a7f ≈ 1.01% of males
Deuteranopia #001d7a ≈ 1.27% of males
Tritanopia #003348 ≈ 0.0001% of males
Protanomaly #00217e ≈ 1.08% of males
Deuteranomaly #00187b ≈ 4.63% of males
Tritanomaly #002861 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Phthalo Blue
#040d7c  rgb(4, 13, 124)  hsl(236, 94%, 25%)  Phthalo Blue
#7c7304  rgb(124, 115, 4)  hsl(56, 94%, 25%)  Olive
#7c040d  rgb(124, 4, 13)  hsl(356, 94%, 25%)  Falu Red
#0d7c04  rgb(13, 124, 4)  hsl(116, 94%, 25%)  Green