#404DAA

#404daa ≈ Ocean Blue

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

#404daa 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 66.67% blue; printed in CMYK it uses 62.35% cyan, 54.71% magenta, 0% yellow and 33.33% black. Its hue angle is 232.64°, with 45.3% saturation and 45.88% 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.34:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.25.

Description generated from the measured properties of this color.

Conversions of #404daa 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.093

Readable text 7.34:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.86:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #4e5380 ≈ 0.001% of males
Protanopia #0c5bad ≈ 1.01% of males
Deuteranopia #0052a8 ≈ 1.27% of males
Tritanopia #006374 ≈ 0.0001% of males
Protanomaly #2956ac ≈ 1.08% of males
Deuteranomaly #2150a9 ≈ 4.63% of males
Tritanomaly #1d5b8d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#404daa  rgb(64, 77, 170)  hsl(233, 45%, 46%)  Ocean Blue
#aa9d40  rgb(170, 157, 64)  hsl(53, 45%, 46%)  Brass
#aa404d  rgb(170, 64, 77)  hsl(353, 45%, 46%)  Cardinal
#4daa40  rgb(77, 170, 64)  hsl(113, 45%, 46%)  Kelly Green