#562DC2

#562dc2 ≈ Ocean Blue

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

#562dc2 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 76.08% blue; printed in CMYK it uses 55.67% cyan, 76.8% magenta, 0% yellow and 23.92% black. Its hue angle is 256.51°, with 62.34% saturation and 46.86% 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.24:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.35.

Description generated from the measured properties of this color.

Conversions of #562dc2 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.0775

Readable text 8.24:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.55:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #52448c ≈ 0.001% of males
Protanopia #0052c6 ≈ 1.01% of males
Deuteranopia #004abf ≈ 1.27% of males
Tritanopia #255876 ≈ 0.0001% of males
Protanomaly #0046c5 ≈ 1.08% of males
Deuteranomaly #0041c0 ≈ 4.63% of males
Tritanomaly #3e4a9a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#562dc2  rgb(86, 45, 194)  hsl(257, 62%, 47%)  Ocean Blue
#99c22d  rgb(153, 194, 45)  hsl(77, 62%, 47%)  Yellow Green
#c2562d  rgb(194, 86, 45)  hsl(17, 62%, 47%)  Sinopia
#2dc256  rgb(45, 194, 86)  hsl(137, 62%, 47%)  Emerald