#404BA5

#404ba5 ≈ Ocean Blue

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

#404ba5 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 25.1% red, 29.41% green and 64.71% blue; printed in CMYK it uses 61.21% cyan, 54.55% magenta, 0% yellow and 35.29% black. Its hue angle is 233.47°, with 44.1% saturation and 44.9% 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.59:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.14.

Description generated from the measured properties of this color.

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

Readable text 7.59:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.77:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #4d507d ≈ 0.001% of males
Protanopia #0f58a8 ≈ 1.01% of males
Deuteranopia #0050a3 ≈ 1.27% of males
Tritanopia #006070 ≈ 0.0001% of males
Protanomaly #2a53a7 ≈ 1.08% of males
Deuteranomaly #234ea4 ≈ 4.63% of males
Tritanomaly #215889 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#404ba5  rgb(64, 75, 165)  hsl(233, 44%, 45%)  Ocean Blue
#a59a40  rgb(165, 154, 64)  hsl(53, 44%, 45%)  Brass
#a5404b  rgb(165, 64, 75)  hsl(353, 44%, 45%)  Cordovan
#4ba540  rgb(75, 165, 64)  hsl(113, 44%, 45%)  Kelly Green