#523FA2

#523fa2 ≈ Ocean Blue

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

#523fa2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 32.16% red, 24.71% green and 63.53% blue; printed in CMYK it uses 49.38% cyan, 61.11% magenta, 0% yellow and 36.47% black. Its hue angle is 251.52°, with 44% 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.1:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.13.

Description generated from the measured properties of this color.

Conversions of #523fa2 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.0796

Readable text 8.1: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 #514a79 ≈ 0.001% of males
Protanopia #0052a5 ≈ 1.01% of males
Deuteranopia #004da0 ≈ 1.27% of males
Tritanopia #36566a ≈ 0.0001% of males
Protanomaly #2f4ba4 ≈ 1.08% of males
Deuteranomaly #2f48a1 ≈ 4.63% of males
Tritanomaly #434e84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-523fa2 {
  color: #523fa2;
}
Background
.bg-523fa2 {
  background-color: #523fa2;
  color: #ffffff;
}
Border
.border-523fa2 {
  border: 2px solid #523fa2;
}
CSS variables
:root {
  --color-primary: #523fa2;
  --color-primary-rgb: 82 63 162;
  --color-primary-hsl: 252 44% 44%;
}
Gradient
.gradient-523fa2 {
  background: linear-gradient(135deg, #523fa2, #843fa2);
}
Colored shadow
.shadow-523fa2 {
  box-shadow: 0 8px 24px rgb(82 63 162 / 0.35);
}

Ocean Blue
#523fa2  rgb(82, 63, 162)  hsl(252, 44%, 44%)  Ocean Blue
#8fa23f  rgb(143, 162, 63)  hsl(72, 44%, 44%)  Moss Green
#a2523f  rgb(162, 82, 63)  hsl(12, 44%, 44%)  Chestnut
#3fa252  rgb(63, 162, 82)  hsl(132, 44%, 44%)  Shamrock Green