#562EC7

#562ec7 ≈ Ocean Blue

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

#562ec7 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 33.73% red, 18.04% green and 78.04% blue; printed in CMYK it uses 56.78% cyan, 76.88% magenta, 0% yellow and 21.96% black. Its hue angle is 255.69°, with 62.45% saturation and 48.04% 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.04:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.33.

Description generated from the measured properties of this color.

Conversions of #562ec7 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.0806

Readable text 8.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #534590 ≈ 0.001% of males
Protanopia #0054cb ≈ 1.01% of males
Deuteranopia #004cc4 ≈ 1.27% of males
Tritanopia #1e5a79 ≈ 0.0001% of males
Protanomaly #0048ca ≈ 1.08% of males
Deuteranomaly #0042c5 ≈ 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-562ec7 {
  color: #562ec7;
}
Background
.bg-562ec7 {
  background-color: #562ec7;
  color: #ffffff;
}
Border
.border-562ec7 {
  border: 2px solid #562ec7;
}
CSS variables
:root {
  --color-primary: #562ec7;
  --color-primary-rgb: 86 46 199;
  --color-primary-hsl: 256 62% 48%;
}
Gradient
.gradient-562ec7 {
  background: linear-gradient(135deg, #562ec7, #a32ec7);
}
Colored shadow
.shadow-562ec7 {
  box-shadow: 0 8px 24px rgb(86 46 199 / 0.35);
}

Ocean Blue
#562ec7  rgb(86, 46, 199)  hsl(256, 62%, 48%)  Ocean Blue
#9fc72e  rgb(159, 199, 46)  hsl(76, 62%, 48%)  Yellow Green
#c7562e  rgb(199, 86, 46)  hsl(16, 62%, 48%)  Sinopia
#2ec756  rgb(46, 199, 86)  hsl(136, 62%, 48%)  Lime Green