#404CB7

#404cb7 ≈ Ocean Blue

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

#404cb7 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.8% green and 71.76% blue; printed in CMYK it uses 65.03% cyan, 58.47% magenta, 0% yellow and 28.24% black. Its hue angle is 233.95°, with 48.18% saturation and 48.43% 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.15:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.3.

Description generated from the measured properties of this color.

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

Readable text 7.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #4f5388 ≈ 0.001% of males
Protanopia #005dbb ≈ 1.01% of males
Deuteranopia #0052b5 ≈ 1.27% of males
Tritanopia #00667a ≈ 0.0001% of males
Protanomaly #1d57b9 ≈ 1.08% of males
Deuteranomaly #0e50b6 ≈ 4.63% of males
Tritanomaly #105d96 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#404cb7  rgb(64, 76, 183)  hsl(234, 48%, 48%)  Ocean Blue
#b7ab40  rgb(183, 171, 64)  hsl(54, 48%, 48%)  Brass
#b7404c  rgb(183, 64, 76)  hsl(354, 48%, 48%)  Brick Red
#4cb740  rgb(76, 183, 64)  hsl(114, 48%, 48%)  Kelly Green