#562DC7

#562dc7 ≈ Ocean Blue

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

#562dc7 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 78.04% blue; printed in CMYK it uses 56.78% cyan, 77.39% magenta, 0% yellow and 21.96% black. Its hue angle is 255.97°, with 63.11% saturation and 47.84% 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.09:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.49.

Description generated from the measured properties of this color.

Conversions of #562dc7 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.0798

Readable text 8.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #52448f ≈ 0.001% of males
Protanopia #0054cb ≈ 1.01% of males
Deuteranopia #004bc4 ≈ 1.27% of males
Tritanopia #1e5a79 ≈ 0.0001% of males
Protanomaly #0047ca ≈ 1.08% of males
Deuteranomaly #0041c5 ≈ 4.63% of males
Tritanomaly #3c4c9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#562dc7  rgb(86, 45, 199)  hsl(256, 63%, 48%)  Ocean Blue
#9ec72d  rgb(158, 199, 45)  hsl(76, 63%, 48%)  Yellow Green
#c7562d  rgb(199, 86, 45)  hsl(16, 63%, 48%)  Sinopia
#2dc756  rgb(45, 199, 86)  hsl(136, 63%, 48%)  Lime Green