#562DBD

#562dbd ≈ Ocean Blue

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#562dbd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 33.73% red, 17.65% green and 74.12% blue; printed in CMYK it uses 54.5% cyan, 76.19% magenta, 0% yellow and 25.88% black. Its hue angle is 257.08°, with 61.54% saturation and 45.88% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 8.38:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.28.

Description generated from the measured properties of this color.

Conversions of #562dbd 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.0753

Readable text 8.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #514389 ≈ 0.001% of males
Protanopia #0051c1 ≈ 1.01% of males
Deuteranopia #004aba ≈ 1.27% of males
Tritanopia #2b5674 ≈ 0.0001% of males
Protanomaly #0045bf ≈ 1.08% of males
Deuteranomaly #0640bb ≈ 4.63% of males
Tritanomaly #404997 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-562dbd {
  color: #562dbd;
}
Background
.bg-562dbd {
  background-color: #562dbd;
  color: #ffffff;
}
Border
.border-562dbd {
  border: 2px solid #562dbd;
}
CSS variables
:root {
  --color-primary: #562dbd;
  --color-primary-rgb: 86 45 189;
  --color-primary-hsl: 257 62% 46%;
}
Gradient
.gradient-562dbd {
  background: linear-gradient(135deg, #562dbd, #9e2dbd);
}
Colored shadow
.shadow-562dbd {
  box-shadow: 0 8px 24px rgb(86 45 189 / 0.35);
}

Ocean Blue
#562dbd  rgb(86, 45, 189)  hsl(257, 62%, 46%)  Ocean Blue
#94bd2d  rgb(148, 189, 45)  hsl(77, 62%, 46%)  Apple Green
#bd562d  rgb(189, 86, 45)  hsl(17, 62%, 46%)  Sinopia
#2dbd56  rgb(45, 189, 86)  hsl(137, 62%, 46%)  Emerald