#512BC2

#512bc2 ≈ Ocean Blue

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

#512bc2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 16.86% green and 76.08% blue; printed in CMYK it uses 58.25% cyan, 77.84% magenta, 0% yellow and 23.92% black. Its hue angle is 255.1°, with 63.71% saturation and 46.47% 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.49:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.6.

Description generated from the measured properties of this color.

Conversions of #512bc2 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.0737

Readable text 8.49:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #4e428b ≈ 0.001% of males
Protanopia #0051c6 ≈ 1.01% of males
Deuteranopia #0048bf ≈ 1.27% of males
Tritanopia #105776 ≈ 0.0001% of males
Protanomaly #0045c5 ≈ 1.08% of males
Deuteranomaly #003ec0 ≈ 4.63% of males
Tritanomaly #35499a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-512bc2 {
  color: #512bc2;
}
Background
.bg-512bc2 {
  background-color: #512bc2;
  color: #ffffff;
}
Border
.border-512bc2 {
  border: 2px solid #512bc2;
}
CSS variables
:root {
  --color-primary: #512bc2;
  --color-primary-rgb: 81 43 194;
  --color-primary-hsl: 255 64% 46%;
}
Gradient
.gradient-512bc2 {
  background: linear-gradient(135deg, #512bc2, #9c2bc2);
}
Colored shadow
.shadow-512bc2 {
  box-shadow: 0 8px 24px rgb(81 43 194 / 0.35);
}

Ocean Blue
#512bc2  rgb(81, 43, 194)  hsl(255, 64%, 46%)  Ocean Blue
#9cc22b  rgb(156, 194, 43)  hsl(75, 64%, 46%)  Yellow Green
#c2512b  rgb(194, 81, 43)  hsl(15, 64%, 46%)  Sinopia
#2bc251  rgb(43, 194, 81)  hsl(135, 64%, 46%)  Lime Green