#4E02B2

#4e02b2 ≈ Medium Blue

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

#4e02b2 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 30.59% red, 0.78% green and 69.8% blue; printed in CMYK it uses 56.18% cyan, 98.88% magenta, 0% yellow and 30.2% black. Its hue angle is 265.91°, with 97.78% saturation and 35.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 call-to-action buttons. White text on this color reaches a contrast ratio of 10.63:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.39.

Description generated from the measured properties of this color.

Conversions of #4e02b2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#660099
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0488

Readable text 10.63:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.98:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #45307e ≈ 0.001% of males
Protanopia #0041b6 ≈ 1.01% of males
Deuteranopia #003aaf ≈ 1.27% of males
Tritanopia #224567 ≈ 0.0001% of males
Protanomaly #0032b4 ≈ 1.08% of males
Deuteranomaly #002db0 ≈ 4.63% of males
Tritanomaly #38368b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e02b2 {
  color: #4e02b2;
}
Background
.bg-4e02b2 {
  background-color: #4e02b2;
  color: #ffffff;
}
Border
.border-4e02b2 {
  border: 2px solid #4e02b2;
}
CSS variables
:root {
  --color-primary: #4e02b2;
  --color-primary-rgb: 78 2 178;
  --color-primary-hsl: 266 98% 35%;
}
Gradient
.gradient-4e02b2 {
  background: linear-gradient(135deg, #4e02b2, #a602b2);
}
Colored shadow
.shadow-4e02b2 {
  box-shadow: 0 8px 24px rgb(78 2 178 / 0.35);
}

Medium Blue
#4e02b2  rgb(78, 2, 178)  hsl(266, 98%, 35%)  Medium Blue
#66b202  rgb(102, 178, 2)  hsl(86, 98%, 35%)  Kelly Green
#b24e02  rgb(178, 78, 2)  hsl(26, 98%, 35%)  Mahogany
#02b24e  rgb(2, 178, 78)  hsl(146, 98%, 35%)  Medium Sea Green