#2B04CF

#2b04cf ≈ Medium Blue

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

#2b04cf is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 16.86% red, 1.57% green and 81.18% blue; printed in CMYK it uses 79.23% cyan, 98.07% magenta, 0% yellow and 18.82% black. Its hue angle is 251.53°, with 96.21% saturation and 41.37% 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.39: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 #2b04cf 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.0511

Readable text 10.39: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 #0048d4 ≈ 1.01% of males
Deuteranopia #0036cc ≈ 1.27% of males
Tritanopia #005579 ≈ 0.0001% of males
Protanomaly #0038d2 ≈ 1.08% of males
Deuteranomaly #002acd ≈ 4.63% of males
Tritanomaly #0042a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#2b04cf  rgb(43, 4, 207)  hsl(252, 96%, 41%)  Medium Blue
#a8cf04  rgb(168, 207, 4)  hsl(72, 96%, 41%)  Yellow Green
#cf2b04  rgb(207, 43, 4)  hsl(12, 96%, 41%)  Rosso Corsa
#04cf2b  rgb(4, 207, 43)  hsl(132, 96%, 41%)  Lime Green