#5946A2

#5946a2 ≈ Ocean Blue

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#5946a2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 34.9% red, 27.45% green and 63.53% blue; printed in CMYK it uses 45.06% cyan, 56.79% magenta, 0% yellow and 36.47% black. Its hue angle is 252.39°, with 39.66% saturation and 45.49% 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 7.44:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.86.

Description generated from the measured properties of this color.

Conversions of #5946a2 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.0911

Readable text 7.44:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #574f7b ≈ 0.001% of males
Protanopia #1157a5 ≈ 1.01% of males
Deuteranopia #1453a0 ≈ 1.27% of males
Tritanopia #435a6d ≈ 0.0001% of males
Protanomaly #3b51a4 ≈ 1.08% of males
Deuteranomaly #3b4ea1 ≈ 4.63% of males
Tritanomaly #4d5385 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5946a2 {
  color: #5946a2;
}
Background
.bg-5946a2 {
  background-color: #5946a2;
  color: #ffffff;
}
Border
.border-5946a2 {
  border: 2px solid #5946a2;
}
CSS variables
:root {
  --color-primary: #5946a2;
  --color-primary-rgb: 89 70 162;
  --color-primary-hsl: 252 40% 45%;
}
Gradient
.gradient-5946a2 {
  background: linear-gradient(135deg, #5946a2, #8746a2);
}
Colored shadow
.shadow-5946a2 {
  box-shadow: 0 8px 24px rgb(89 70 162 / 0.35);
}

Ocean Blue
#5946a2  rgb(89, 70, 162)  hsl(252, 40%, 45%)  Ocean Blue
#8fa246  rgb(143, 162, 70)  hsl(72, 40%, 45%)  Moss Green
#a25946  rgb(162, 89, 70)  hsl(12, 40%, 45%)  Redwood
#46a259  rgb(70, 162, 89)  hsl(132, 40%, 45%)  Shamrock Green