#404EB7

#404eb7 ≈ Ocean Blue

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

#404eb7 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.59% green and 71.76% blue; printed in CMYK it uses 65.03% cyan, 57.38% magenta, 0% yellow and 28.24% black. Its hue angle is 232.94°, 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.02:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.88.

Description generated from the measured properties of this color.

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

Readable text 7.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.99:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #505589 ≈ 0.001% of males
Protanopia #005ebb ≈ 1.01% of males
Deuteranopia #0054b5 ≈ 1.27% of males
Tritanopia #00677b ≈ 0.0001% of males
Protanomaly #2158b9 ≈ 1.08% of males
Deuteranomaly #1351b6 ≈ 4.63% of males
Tritanomaly #0f5e97 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#404eb7  rgb(64, 78, 183)  hsl(233, 48%, 48%)  Ocean Blue
#b7a940  rgb(183, 169, 64)  hsl(53, 48%, 48%)  Brass
#b7404e  rgb(183, 64, 78)  hsl(353, 48%, 48%)  Brick Red
#4eb740  rgb(78, 183, 64)  hsl(113, 48%, 48%)  Kelly Green