#2B04DA

#2b04da ≈ Medium Blue

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

#2b04da 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 85.49% blue; printed in CMYK it uses 80.28% cyan, 98.17% magenta, 0% yellow and 14.51% black. Its hue angle is 250.93°, with 96.4% saturation and 43.53% 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.85:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.77.

Description generated from the measured properties of this color.

Conversions of #2b04da 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.0566

Readable text 9.85:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.13:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #3b3498 ≈ 0.001% of males
Protanopia #004ddf ≈ 1.01% of males
Deuteranopia #0039d7 ≈ 1.27% of males
Tritanopia #005a7f ≈ 0.0001% of males
Protanomaly #003bdd ≈ 1.08% of males
Deuteranomaly #002cd8 ≈ 4.63% of males
Tritanomaly #0046ab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2b04da {
  color: #2b04da;
}
Background
.bg-2b04da {
  background-color: #2b04da;
  color: #ffffff;
}
Border
.border-2b04da {
  border: 2px solid #2b04da;
}
CSS variables
:root {
  --color-primary: #2b04da;
  --color-primary-rgb: 43 4 218;
  --color-primary-hsl: 251 96% 44%;
}
Gradient
.gradient-2b04da {
  background: linear-gradient(135deg, #2b04da, #9604da);
}
Colored shadow
.shadow-2b04da {
  box-shadow: 0 8px 24px rgb(43 4 218 / 0.35);
}

Medium Blue
#2b04da  rgb(43, 4, 218)  hsl(251, 96%, 44%)  Medium Blue
#b3da04  rgb(179, 218, 4)  hsl(71, 96%, 44%)  Pear
#da2b04  rgb(218, 43, 4)  hsl(11, 96%, 44%)  Sinopia
#04da2b  rgb(4, 218, 43)  hsl(131, 96%, 44%)  Lime Green