#2C04EA

#2c04ea ≈ Blue

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

#2c04ea 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 91.76% blue; printed in CMYK it uses 81.2% cyan, 98.29% magenta, 0% yellow and 8.24% black. Its hue angle is 250.43°, with 96.64% saturation and 46.67% 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.08:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.18.

Description generated from the measured properties of this color.

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

Readable text 9.08:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #3f38a3 ≈ 0.001% of males
Protanopia #0053ef ≈ 1.01% of males
Deuteranopia #003de7 ≈ 1.27% of males
Tritanopia #006189 ≈ 0.0001% of males
Protanomaly #0040ed ≈ 1.08% of males
Deuteranomaly #002fe8 ≈ 4.63% of males
Tritanomaly #004cb8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c04ea {
  color: #2c04ea;
}
Background
.bg-2c04ea {
  background-color: #2c04ea;
  color: #ffffff;
}
Border
.border-2c04ea {
  border: 2px solid #2c04ea;
}
CSS variables
:root {
  --color-primary: #2c04ea;
  --color-primary-rgb: 44 4 234;
  --color-primary-hsl: 250 97% 47%;
}
Gradient
.gradient-2c04ea {
  background: linear-gradient(135deg, #2c04ea, #9f04ea);
}
Colored shadow
.shadow-2c04ea {
  box-shadow: 0 8px 24px rgb(44 4 234 / 0.35);
}

Blue
#2c04ea  rgb(44, 4, 234)  hsl(250, 97%, 47%)  Blue
#c2ea04  rgb(194, 234, 4)  hsl(70, 97%, 47%)  Pear
#ea2c04  rgb(234, 44, 4)  hsl(10, 97%, 47%)  Candy Apple Red
#04ea2c  rgb(4, 234, 44)  hsl(130, 97%, 47%)  Lime