#512BBC

#512bbc ≈ Ocean Blue

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

#512bbc 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 73.73% blue; printed in CMYK it uses 56.91% cyan, 77.13% magenta, 0% yellow and 26.27% black. Its hue angle is 255.72°, with 62.77% saturation and 45.29% 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.67:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.54.

Description generated from the measured properties of this color.

Conversions of #512bbc 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.0711

Readable text 8.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #4e4187 ≈ 0.001% of males
Protanopia #004fc0 ≈ 1.01% of males
Deuteranopia #0047b9 ≈ 1.27% of males
Tritanopia #1c5573 ≈ 0.0001% of males
Protanomaly #0043be ≈ 1.08% of males
Deuteranomaly #003eba ≈ 4.63% of males
Tritanomaly #384796 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-512bbc {
  color: #512bbc;
}
Background
.bg-512bbc {
  background-color: #512bbc;
  color: #ffffff;
}
Border
.border-512bbc {
  border: 2px solid #512bbc;
}
CSS variables
:root {
  --color-primary: #512bbc;
  --color-primary-rgb: 81 43 188;
  --color-primary-hsl: 256 63% 45%;
}
Gradient
.gradient-512bbc {
  background: linear-gradient(135deg, #512bbc, #992bbc);
}
Colored shadow
.shadow-512bbc {
  box-shadow: 0 8px 24px rgb(81 43 188 / 0.35);
}

Ocean Blue
#512bbc  rgb(81, 43, 188)  hsl(256, 63%, 45%)  Ocean Blue
#96bc2b  rgb(150, 188, 43)  hsl(76, 63%, 45%)  Apple Green
#bc512b  rgb(188, 81, 43)  hsl(16, 63%, 45%)  Sinopia
#2bbc51  rgb(43, 188, 81)  hsl(136, 63%, 45%)  Emerald