#04087E

#04087e ≈ Navy

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

#04087e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 3.14% green and 49.41% blue; printed in CMYK it uses 96.83% cyan, 93.65% magenta, 0% yellow and 50.59% black. Its hue angle is 238.03°, with 93.85% saturation and 25.49% 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.66:1 (WCAG AAA). The closest named color is Navy (#000080), ΔE 1.27.

Description generated from the measured properties of this color.

Conversions of #04087e 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.0171

Readable text 15.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.34:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #232323 ≈ 0.003% of males
Achromatomaly #1b1b56 ≈ 0.001% of males
Protanopia #002a81 ≈ 1.01% of males
Deuteranopia #001c7c ≈ 1.27% of males
Tritanopia #003348 ≈ 0.0001% of males
Protanomaly #002080 ≈ 1.08% of males
Deuteranomaly #00167d ≈ 4.63% of males
Tritanomaly #002762 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-04087e {
  color: #04087e;
}
Background
.bg-04087e {
  background-color: #04087e;
  color: #ffffff;
}
Border
.border-04087e {
  border: 2px solid #04087e;
}
CSS variables
:root {
  --color-primary: #04087e;
  --color-primary-rgb: 4 8 126;
  --color-primary-hsl: 238 94% 25%;
}
Gradient
.gradient-04087e {
  background: linear-gradient(135deg, #04087e, #3d047e);
}
Colored shadow
.shadow-04087e {
  box-shadow: 0 8px 24px rgb(4 8 126 / 0.35);
}

Navy
#04087e  rgb(4, 8, 126)  hsl(238, 94%, 25%)  Navy
#7e7a04  rgb(126, 122, 4)  hsl(58, 94%, 25%)  Olive
#7e0408  rgb(126, 4, 8)  hsl(358, 94%, 25%)  Maroon
#087e04  rgb(8, 126, 4)  hsl(118, 94%, 25%)  Green