#404BAC

#404bac ≈ Ocean Blue

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

#404bac 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.45% blue; printed in CMYK it uses 62.79% cyan, 56.4% magenta, 0% yellow and 32.55% black. Its hue angle is 233.89°, with 45.76% saturation and 46.27% 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.45:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.53.

Description generated from the measured properties of this color.

Conversions of #404bac 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.091

Readable text 7.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #4d5181 ≈ 0.001% of males
Protanopia #005aaf ≈ 1.01% of males
Deuteranopia #0050aa ≈ 1.27% of males
Tritanopia #006274 ≈ 0.0001% of males
Protanomaly #2554ae ≈ 1.08% of males
Deuteranomaly #1c4eab ≈ 4.63% of males
Tritanomaly #1c5a8e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#404bac  rgb(64, 75, 172)  hsl(234, 46%, 46%)  Ocean Blue
#aca140  rgb(172, 161, 64)  hsl(54, 46%, 46%)  Brass
#ac404b  rgb(172, 64, 75)  hsl(354, 46%, 46%)  Cardinal
#4bac40  rgb(75, 172, 64)  hsl(114, 46%, 46%)  Kelly Green