#562DC6

#562dc6 ≈ Ocean Blue

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

#562dc6 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 77.65% blue; printed in CMYK it uses 56.57% cyan, 77.27% magenta, 0% yellow and 22.35% black. Its hue angle is 256.08°, with 62.96% saturation and 47.65% 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.12:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.46.

Description generated from the measured properties of this color.

Conversions of #562dc6 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.0793

Readable text 8.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.59:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #52448f ≈ 0.001% of males
Protanopia #0053ca ≈ 1.01% of males
Deuteranopia #004bc3 ≈ 1.27% of males
Tritanopia #1f5979 ≈ 0.0001% of males
Protanomaly #0047c9 ≈ 1.08% of males
Deuteranomaly #0041c4 ≈ 4.63% of males
Tritanomaly #3c4b9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-562dc6 {
  color: #562dc6;
}
Background
.bg-562dc6 {
  background-color: #562dc6;
  color: #ffffff;
}
Border
.border-562dc6 {
  border: 2px solid #562dc6;
}
CSS variables
:root {
  --color-primary: #562dc6;
  --color-primary-rgb: 86 45 198;
  --color-primary-hsl: 256 63% 48%;
}
Gradient
.gradient-562dc6 {
  background: linear-gradient(135deg, #562dc6, #a32dc6);
}
Colored shadow
.shadow-562dc6 {
  box-shadow: 0 8px 24px rgb(86 45 198 / 0.35);
}

Ocean Blue
#562dc6  rgb(86, 45, 198)  hsl(256, 63%, 48%)  Ocean Blue
#9dc62d  rgb(157, 198, 45)  hsl(76, 63%, 48%)  Yellow Green
#c6562d  rgb(198, 86, 45)  hsl(16, 63%, 48%)  Sinopia
#2dc656  rgb(45, 198, 86)  hsl(136, 63%, 48%)  Lime Green