#5340BF

#5340bf ≈ Ocean Blue

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

#5340bf is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 32.55% red, 25.1% green and 74.9% blue; printed in CMYK it uses 56.54% cyan, 66.49% magenta, 0% yellow and 25.1% black. Its hue angle is 248.98°, with 49.8% saturation and 50% 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.36:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 1.69.

Description generated from the measured properties of this color.

Conversions of #5340bf 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.0927

Readable text 7.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #554e8c ≈ 0.001% of males
Protanopia #005ac3 ≈ 1.01% of males
Deuteranopia #0052bd ≈ 1.27% of males
Tritanopia #1c607a ≈ 0.0001% of males
Protanomaly #1b51c1 ≈ 1.08% of males
Deuteranomaly #184bbe ≈ 4.63% of males
Tritanomaly #39559a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5340bf {
  color: #5340bf;
}
Background
.bg-5340bf {
  background-color: #5340bf;
  color: #ffffff;
}
Border
.border-5340bf {
  border: 2px solid #5340bf;
}
CSS variables
:root {
  --color-primary: #5340bf;
  --color-primary-rgb: 83 64 191;
  --color-primary-hsl: 249 50% 50%;
}
Gradient
.gradient-5340bf {
  background: linear-gradient(135deg, #5340bf, #9340bf);
}
Colored shadow
.shadow-5340bf {
  box-shadow: 0 8px 24px rgb(83 64 191 / 0.35);
}

Ocean Blue
#5340bf  rgb(83, 64, 191)  hsl(249, 50%, 50%)  Ocean Blue
#acbf40  rgb(172, 191, 64)  hsl(69, 50%, 50%)  Apple Green
#bf5340  rgb(191, 83, 64)  hsl(9, 50%, 50%)  Persian Red
#40bf53  rgb(64, 191, 83)  hsl(129, 50%, 50%)  Mantis