#403FB7

#403fb7 ≈ Ocean Blue

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

#403fb7 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 25.1% red, 24.71% green and 71.76% blue; printed in CMYK it uses 65.03% cyan, 65.57% magenta, 0% yellow and 28.24% black. Its hue angle is 240.5°, with 48.78% saturation and 48.24% 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 8.04:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 2.23.

Description generated from the measured properties of this color.

Conversions of #403fb7 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.0806

Readable text 8.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #4a4a86 ≈ 0.001% of males
Protanopia #0055bb ≈ 1.01% of males
Deuteranopia #004bb5 ≈ 1.27% of males
Tritanopia #005e75 ≈ 0.0001% of males
Protanomaly #004db9 ≈ 1.08% of males
Deuteranomaly #0046b6 ≈ 4.63% of males
Tritanomaly #125394 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-403fb7 {
  color: #403fb7;
}
Background
.bg-403fb7 {
  background-color: #403fb7;
  color: #ffffff;
}
Border
.border-403fb7 {
  border: 2px solid #403fb7;
}
CSS variables
:root {
  --color-primary: #403fb7;
  --color-primary-rgb: 64 63 183;
  --color-primary-hsl: 241 49% 48%;
}
Gradient
.gradient-403fb7 {
  background: linear-gradient(135deg, #403fb7, #7c3fb7);
}
Colored shadow
.shadow-403fb7 {
  box-shadow: 0 8px 24px rgb(64 63 183 / 0.35);
}

Ocean Blue
#403fb7  rgb(64, 63, 183)  hsl(241, 49%, 48%)  Ocean Blue
#b6b73f  rgb(182, 183, 63)  hsl(61, 49%, 48%)  Brass
#b7403f  rgb(183, 64, 63)  hsl(1, 49%, 48%)  Persian Red
#3fb740  rgb(63, 183, 64)  hsl(121, 49%, 48%)  Kelly Green