#511BB8

#511bb8 ≈ Medium Blue

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

#511bb8 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 10.59% green and 72.16% blue; printed in CMYK it uses 55.98% cyan, 85.33% magenta, 0% yellow and 27.84% black. Its hue angle is 260.64°, with 74.41% saturation and 41.37% 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 9.55:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.93.

Description generated from the measured properties of this color.

Conversions of #511bb8 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.0599

Readable text 9.55:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #454545 ≈ 0.003% of males
Achromatomaly #4a3983 ≈ 0.001% of males
Protanopia #0048bc ≈ 1.01% of males
Deuteranopia #0041b5 ≈ 1.27% of males
Tritanopia #234d6d ≈ 0.0001% of males
Protanomaly #003bba ≈ 1.08% of males
Deuteranomaly #0036b6 ≈ 4.63% of males
Tritanomaly #3a3f91 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511bb8 {
  color: #511bb8;
}
Background
.bg-511bb8 {
  background-color: #511bb8;
  color: #ffffff;
}
Border
.border-511bb8 {
  border: 2px solid #511bb8;
}
CSS variables
:root {
  --color-primary: #511bb8;
  --color-primary-rgb: 81 27 184;
  --color-primary-hsl: 261 74% 41%;
}
Gradient
.gradient-511bb8 {
  background: linear-gradient(135deg, #511bb8, #9f1bb8);
}
Colored shadow
.shadow-511bb8 {
  box-shadow: 0 8px 24px rgb(81 27 184 / 0.35);
}

Medium Blue
#511bb8  rgb(81, 27, 184)  hsl(261, 74%, 41%)  Medium Blue
#82b81b  rgb(130, 184, 27)  hsl(81, 74%, 41%)  Apple Green
#b8511b  rgb(184, 81, 27)  hsl(21, 74%, 41%)  Mahogany
#1bb851  rgb(27, 184, 81)  hsl(141, 74%, 41%)  Medium Sea Green