#562FB2

#562fb2 ≈ Ocean Blue

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

#562fb2 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.43% green and 69.8% blue; printed in CMYK it uses 51.69% cyan, 73.6% magenta, 0% yellow and 30.2% black. Its hue angle is 257.86°, with 58.22% saturation and 44.12% 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.59:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.

Description generated from the measured properties of this color.

Conversions of #562fb2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#663399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0723

Readable text 8.59:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #504282 ≈ 0.001% of males
Protanopia #004eb6 ≈ 1.01% of males
Deuteranopia #0049b0 ≈ 1.27% of males
Tritanopia #35526e ≈ 0.0001% of males
Protanomaly #1844b4 ≈ 1.08% of males
Deuteranomaly #1c40b1 ≈ 4.63% of males
Tritanomaly #44478e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-562fb2 {
  color: #562fb2;
}
Background
.bg-562fb2 {
  background-color: #562fb2;
  color: #ffffff;
}
Border
.border-562fb2 {
  border: 2px solid #562fb2;
}
CSS variables
:root {
  --color-primary: #562fb2;
  --color-primary-rgb: 86 47 178;
  --color-primary-hsl: 258 58% 44%;
}
Gradient
.gradient-562fb2 {
  background: linear-gradient(135deg, #562fb2, #982fb2);
}
Colored shadow
.shadow-562fb2 {
  box-shadow: 0 8px 24px rgb(86 47 178 / 0.35);
}

Ocean Blue
#562fb2  rgb(86, 47, 178)  hsl(258, 58%, 44%)  Ocean Blue
#8bb22f  rgb(139, 178, 47)  hsl(78, 58%, 44%)  Apple Green
#b2562f  rgb(178, 86, 47)  hsl(18, 58%, 44%)  Sienna
#2fb256  rgb(47, 178, 86)  hsl(138, 58%, 44%)  Medium Sea Green