#5340CD

#5340cd ≈ Ocean Blue

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

#5340cd is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 32.55% red, 25.1% green and 80.39% blue; printed in CMYK it uses 59.51% cyan, 68.78% magenta, 0% yellow and 19.61% black. Its hue angle is 248.09°, with 58.51% saturation and 52.75% 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.04:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.44.

Description generated from the measured properties of this color.

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

Readable text 7.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.98:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #565096 ≈ 0.001% of males
Protanopia #005ed1 ≈ 1.01% of males
Deuteranopia #0054ca ≈ 1.27% of males
Tritanopia #006582 ≈ 0.0001% of males
Protanomaly #0053d0 ≈ 1.08% of males
Deuteranomaly #004ccb ≈ 4.63% of males
Tritanomaly #3259a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5340cd {
  color: #5340cd;
}
Background
.bg-5340cd {
  background-color: #5340cd;
  color: #ffffff;
}
Border
.border-5340cd {
  border: 2px solid #5340cd;
}
CSS variables
:root {
  --color-primary: #5340cd;
  --color-primary-rgb: 83 64 205;
  --color-primary-hsl: 248 59% 53%;
}
Gradient
.gradient-5340cd {
  background: linear-gradient(135deg, #5340cd, #9a40cd);
}
Colored shadow
.shadow-5340cd {
  box-shadow: 0 8px 24px rgb(83 64 205 / 0.35);
}

Ocean Blue
#5340cd  rgb(83, 64, 205)  hsl(248, 59%, 53%)  Ocean Blue
#bacd40  rgb(186, 205, 64)  hsl(68, 59%, 53%)  June Bud
#cd5340  rgb(205, 83, 64)  hsl(8, 59%, 53%)  Cinnabar
#40cd53  rgb(64, 205, 83)  hsl(128, 59%, 53%)  Lime Green