#2C04CE

#2c04ce ≈ Medium Blue

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#2c04ce is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 17.25% red, 1.57% green and 80.78% blue; printed in CMYK it uses 78.64% cyan, 98.06% magenta, 0% yellow and 19.22% black. Its hue angle is 251.88°, with 96.19% saturation and 41.18% 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.42:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.76.

Description generated from the measured properties of this color.

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

Readable text 10.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.02:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #393190 ≈ 0.001% of males
Protanopia #0048d3 ≈ 1.01% of males
Deuteranopia #0036cb ≈ 1.27% of males
Tritanopia #005578 ≈ 0.0001% of males
Protanomaly #0038d1 ≈ 1.08% of males
Deuteranomaly #002acc ≈ 4.63% of males
Tritanomaly #0042a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c04ce {
  color: #2c04ce;
}
Background
.bg-2c04ce {
  background-color: #2c04ce;
  color: #ffffff;
}
Border
.border-2c04ce {
  border: 2px solid #2c04ce;
}
CSS variables
:root {
  --color-primary: #2c04ce;
  --color-primary-rgb: 44 4 206;
  --color-primary-hsl: 252 96% 41%;
}
Gradient
.gradient-2c04ce {
  background: linear-gradient(135deg, #2c04ce, #9104ce);
}
Colored shadow
.shadow-2c04ce {
  box-shadow: 0 8px 24px rgb(44 4 206 / 0.35);
}

Medium Blue
#2c04ce  rgb(44, 4, 206)  hsl(252, 96%, 41%)  Medium Blue
#a6ce04  rgb(166, 206, 4)  hsl(72, 96%, 41%)  Yellow Green
#ce2c04  rgb(206, 44, 4)  hsl(12, 96%, 41%)  Rosso Corsa
#04ce2c  rgb(4, 206, 44)  hsl(132, 96%, 41%)  Lime Green