#5124BF

#5124bf ≈ Medium Blue

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

#5124bf is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 14.12% green and 74.9% blue; printed in CMYK it uses 57.59% cyan, 81.15% magenta, 0% yellow and 25.1% black. Its hue angle is 257.42°, with 68.28% saturation and 44.51% 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.92:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.47.

Description generated from the measured properties of this color.

Conversions of #5124bf 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.0677

Readable text 8.92:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4a4a4a ≈ 0.003% of males
Achromatomaly #4d3e89 ≈ 0.001% of males
Protanopia #004dc3 ≈ 1.01% of males
Deuteranopia #0045bc ≈ 1.27% of males
Tritanopia #175373 ≈ 0.0001% of males
Protanomaly #0040c2 ≈ 1.08% of males
Deuteranomaly #003abd ≈ 4.63% of males
Tritanomaly #374597 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5124bf {
  color: #5124bf;
}
Background
.bg-5124bf {
  background-color: #5124bf;
  color: #ffffff;
}
Border
.border-5124bf {
  border: 2px solid #5124bf;
}
CSS variables
:root {
  --color-primary: #5124bf;
  --color-primary-rgb: 81 36 191;
  --color-primary-hsl: 257 68% 45%;
}
Gradient
.gradient-5124bf {
  background: linear-gradient(135deg, #5124bf, #9f24bf);
}
Colored shadow
.shadow-5124bf {
  box-shadow: 0 8px 24px rgb(81 36 191 / 0.35);
}

Medium Blue
#5124bf  rgb(81, 36, 191)  hsl(257, 68%, 45%)  Medium Blue
#92bf24  rgb(146, 191, 36)  hsl(77, 68%, 45%)  Apple Green
#bf5124  rgb(191, 81, 36)  hsl(17, 68%, 45%)  Sinopia
#24bf51  rgb(36, 191, 81)  hsl(137, 68%, 45%)  Emerald