#5304BF

#5304bf ≈ Medium Blue

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#5304bf is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 32.55% red, 1.57% green and 74.9% blue; printed in CMYK it uses 56.54% cyan, 97.91% magenta, 0% yellow and 25.1% black. Its hue angle is 265.35°, with 95.9% saturation and 38.24% 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.82:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.33.

Description generated from the measured properties of this color.

Conversions of #5304bf 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.0569

Readable text 9.82:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.14:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #4a3487 ≈ 0.001% of males
Protanopia #0047c3 ≈ 1.01% of males
Deuteranopia #003fbc ≈ 1.27% of males
Tritanopia #214b6f ≈ 0.0001% of males
Protanomaly #0037c2 ≈ 1.08% of males
Deuteranomaly #0031bd ≈ 4.63% of males
Tritanomaly #3b3b96 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5304bf {
  color: #5304bf;
}
Background
.bg-5304bf {
  background-color: #5304bf;
  color: #ffffff;
}
Border
.border-5304bf {
  border: 2px solid #5304bf;
}
CSS variables
:root {
  --color-primary: #5304bf;
  --color-primary-rgb: 83 4 191;
  --color-primary-hsl: 265 96% 38%;
}
Gradient
.gradient-5304bf {
  background: linear-gradient(135deg, #5304bf, #b104bf);
}
Colored shadow
.shadow-5304bf {
  box-shadow: 0 8px 24px rgb(83 4 191 / 0.35);
}

Medium Blue
#5304bf  rgb(83, 4, 191)  hsl(265, 96%, 38%)  Medium Blue
#70bf04  rgb(112, 191, 4)  hsl(85, 96%, 38%)  Kelly Green
#bf5304  rgb(191, 83, 4)  hsl(25, 96%, 38%)  Burnt Orange
#04bf53  rgb(4, 191, 83)  hsl(145, 96%, 38%)  Emerald