#403DD7

#403dd7 ≈ Ocean Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#403dd7 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 23.92% green and 84.31% blue; printed in CMYK it uses 70.23% cyan, 71.63% magenta, 0% yellow and 15.69% black. Its hue angle is 241.17°, with 65.81% saturation and 54.12% 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.33:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.76.

Description generated from the measured properties of this color.

Conversions of #403dd7 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.0933

Readable text 7.33:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.87:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #4e4d9b ≈ 0.001% of males
Protanopia #005ddc ≈ 1.01% of males
Deuteranopia #004fd4 ≈ 1.27% of males
Tritanopia #006886 ≈ 0.0001% of males
Protanomaly #0052da ≈ 1.08% of males
Deuteranomaly #0048d5 ≈ 4.63% of males
Tritanomaly #005aad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-403dd7 {
  color: #403dd7;
}
Background
.bg-403dd7 {
  background-color: #403dd7;
  color: #ffffff;
}
Border
.border-403dd7 {
  border: 2px solid #403dd7;
}
CSS variables
:root {
  --color-primary: #403dd7;
  --color-primary-rgb: 64 61 215;
  --color-primary-hsl: 241 66% 54%;
}
Gradient
.gradient-403dd7 {
  background: linear-gradient(135deg, #403dd7, #8d3dd7);
}
Colored shadow
.shadow-403dd7 {
  box-shadow: 0 8px 24px rgb(64 61 215 / 0.35);
}

Ocean Blue
#403dd7  rgb(64, 61, 215)  hsl(241, 66%, 54%)  Ocean Blue
#d4d73d  rgb(212, 215, 61)  hsl(61, 66%, 54%)  Pear
#d7403d  rgb(215, 64, 61)  hsl(1, 66%, 54%)  Persian Red
#3dd740  rgb(61, 215, 64)  hsl(121, 66%, 54%)  Lime Green