#040C77

#040c77 ≈ Navy

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

#040c77 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 46.67% blue; printed in CMYK it uses 96.64% cyan, 89.92% magenta, 0% yellow and 53.33% black. Its hue angle is 235.83°, with 93.5% saturation and 24.12% 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.86:1 (WCAG AAA). The closest named color is Navy (#000080), ΔE 2.33.

Description generated from the measured properties of this color.

Conversions of #040c77 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.0162

Readable text 15.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #222222 ≈ 0.003% of males
Achromatomaly #1a1b52 ≈ 0.001% of males
Protanopia #00287a ≈ 1.01% of males
Deuteranopia #001c75 ≈ 1.27% of males
Tritanopia #003144 ≈ 0.0001% of males
Protanomaly #002079 ≈ 1.08% of males
Deuteranomaly #001776 ≈ 4.63% of males
Tritanomaly #00265d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Navy
#040c77  rgb(4, 12, 119)  hsl(236, 94%, 24%)  Navy
#776f04  rgb(119, 111, 4)  hsl(56, 94%, 24%)  Olive
#77040c  rgb(119, 4, 12)  hsl(356, 94%, 24%)  Falu Red
#0c7704  rgb(12, 119, 4)  hsl(116, 94%, 24%)  Green