#404BAB

#404bab ≈ Ocean Blue

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

#404bab 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 67.06% blue; printed in CMYK it uses 62.57% cyan, 56.14% magenta, 0% yellow and 32.94% black. Its hue angle is 233.83°, with 45.53% saturation and 46.08% 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.47:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.61.

Description generated from the measured properties of this color.

Conversions of #404bab 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.0906

Readable text 7.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.81:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #4d5180 ≈ 0.001% of males
Protanopia #005aae ≈ 1.01% of males
Deuteranopia #0050a9 ≈ 1.27% of males
Tritanopia #006273 ≈ 0.0001% of males
Protanomaly #2654ad ≈ 1.08% of males
Deuteranomaly #1d4eaa ≈ 4.63% of males
Tritanomaly #1d5a8d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-404bab {
  color: #404bab;
}
Background
.bg-404bab {
  background-color: #404bab;
  color: #ffffff;
}
Border
.border-404bab {
  border: 2px solid #404bab;
}
CSS variables
:root {
  --color-primary: #404bab;
  --color-primary-rgb: 64 75 171;
  --color-primary-hsl: 234 46% 46%;
}
Gradient
.gradient-404bab {
  background: linear-gradient(135deg, #404bab, #6b40ab);
}
Colored shadow
.shadow-404bab {
  box-shadow: 0 8px 24px rgb(64 75 171 / 0.35);
}

Ocean Blue
#404bab  rgb(64, 75, 171)  hsl(234, 46%, 46%)  Ocean Blue
#aba040  rgb(171, 160, 64)  hsl(54, 46%, 46%)  Brass
#ab404b  rgb(171, 64, 75)  hsl(354, 46%, 46%)  Cardinal
#4bab40  rgb(75, 171, 64)  hsl(114, 46%, 46%)  Kelly Green