#404DAD

#404dad ≈ Ocean Blue

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#404dad is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 25.1% red, 30.2% green and 67.84% blue; printed in CMYK it uses 63.01% cyan, 55.49% magenta, 0% yellow and 32.16% black. Its hue angle is 232.84°, with 45.99% saturation and 46.47% 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 brand accents. White text on this color reaches a contrast ratio of 7.28:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.03.

Description generated from the measured properties of this color.

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

Readable text 7.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.88:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #4e5382 ≈ 0.001% of males
Protanopia #015bb0 ≈ 1.01% of males
Deuteranopia #0052ab ≈ 1.27% of males
Tritanopia #006475 ≈ 0.0001% of males
Protanomaly #2756af ≈ 1.08% of males
Deuteranomaly #1e50ac ≈ 4.63% of males
Tritanomaly #1b5b8f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-404dad {
  color: #404dad;
}
Background
.bg-404dad {
  background-color: #404dad;
  color: #ffffff;
}
Border
.border-404dad {
  border: 2px solid #404dad;
}
CSS variables
:root {
  --color-primary: #404dad;
  --color-primary-rgb: 64 77 173;
  --color-primary-hsl: 233 46% 46%;
}
Gradient
.gradient-404dad {
  background: linear-gradient(135deg, #404dad, #6940ad);
}
Colored shadow
.shadow-404dad {
  box-shadow: 0 8px 24px rgb(64 77 173 / 0.35);
}

Ocean Blue
#404dad  rgb(64, 77, 173)  hsl(233, 46%, 46%)  Ocean Blue
#ada040  rgb(173, 160, 64)  hsl(53, 46%, 46%)  Brass
#ad404d  rgb(173, 64, 77)  hsl(353, 46%, 46%)  Brick Red
#4dad40  rgb(77, 173, 64)  hsl(113, 46%, 46%)  Kelly Green