#5302C8

#5302c8 ≈ Medium Blue

  • violet
  • Lightness: low
  • Saturation: vivid
  • Cool

#5302c8 is a color from the violet family, with low lightness and vivid saturation. In the RGB model it is made of 32.55% red, 0.78% green and 78.43% blue; printed in CMYK it uses 58.5% cyan, 99% magenta, 0% yellow and 21.57% black. Its hue angle is 264.55°, with 98.02% saturation and 39.61% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 9.5:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.21.

Description generated from the measured properties of this color.

Conversions of #5302c8 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6600cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0605

Readable text 9.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #464646 ≈ 0.003% of males
Achromatomaly #4b368d ≈ 0.001% of males
Protanopia #004acd ≈ 1.01% of males
Deuteranopia #0040c5 ≈ 1.27% of males
Tritanopia #104f75 ≈ 0.0001% of males
Protanomaly #0039cb ≈ 1.08% of males
Deuteranomaly #0032c6 ≈ 4.63% of males
Tritanomaly #373e9d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5302c8 {
  color: #5302c8;
}
Background
.bg-5302c8 {
  background-color: #5302c8;
  color: #ffffff;
}
Border
.border-5302c8 {
  border: 2px solid #5302c8;
}
CSS variables
:root {
  --color-primary: #5302c8;
  --color-primary-rgb: 83 2 200;
  --color-primary-hsl: 265 98% 40%;
}
Gradient
.gradient-5302c8 {
  background: linear-gradient(135deg, #5302c8, #b602c8);
}
Colored shadow
.shadow-5302c8 {
  box-shadow: 0 8px 24px rgb(83 2 200 / 0.35);
}

Medium Blue
#5302c8  rgb(83, 2, 200)  hsl(265, 98%, 40%)  Medium Blue
#77c802  rgb(119, 200, 2)  hsl(85, 98%, 40%)  Yellow Green
#c85302  rgb(200, 83, 2)  hsl(25, 98%, 40%)  Burnt Orange
#02c853  rgb(2, 200, 83)  hsl(145, 98%, 40%)  Malachite