#2F04EB

#2f04eb ≈ Blue

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

#2f04eb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 1.57% green and 92.16% blue; printed in CMYK it uses 80% cyan, 98.3% magenta, 0% yellow and 7.84% black. Its hue angle is 251.17°, with 96.65% saturation and 46.86% 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 8.98:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.08.

Description generated from the measured properties of this color.

Conversions of #2f04eb 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.0669

Readable text 8.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.34:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #4039a4 ≈ 0.001% of males
Protanopia #0053f0 ≈ 1.01% of males
Deuteranopia #003ee8 ≈ 1.27% of males
Tritanopia #00628a ≈ 0.0001% of males
Protanomaly #0041ee ≈ 1.08% of males
Deuteranomaly #0030e9 ≈ 4.63% of males
Tritanomaly #004db9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#2f04eb  rgb(47, 4, 235)  hsl(251, 97%, 47%)  Blue
#c0eb04  rgb(192, 235, 4)  hsl(71, 97%, 47%)  Electric Lime
#eb2f04  rgb(235, 47, 4)  hsl(11, 97%, 47%)  Candy Apple Red
#04eb2f  rgb(4, 235, 47)  hsl(131, 97%, 47%)  Lime