#2A04BD

#2a04bd ≈ Medium Blue

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#2a04bd is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 16.47% red, 1.57% green and 74.12% blue; printed in CMYK it uses 77.78% cyan, 97.88% magenta, 0% yellow and 25.88% black. Its hue angle is 252.32°, with 95.85% saturation and 37.84% 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 11.35:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.03.

Description generated from the measured properties of this color.

Conversions of #2a04bd 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.0425

Readable text 11.35:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3a3a3a ≈ 0.003% of males
Achromatomaly #342d84 ≈ 0.001% of males
Protanopia #0042c1 ≈ 1.01% of males
Deuteranopia #0032ba ≈ 1.27% of males
Tritanopia #004d6e ≈ 0.0001% of males
Protanomaly #0033c0 ≈ 1.08% of males
Deuteranomaly #0026bb ≈ 4.63% of males
Tritanomaly #003c94 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a04bd {
  color: #2a04bd;
}
Background
.bg-2a04bd {
  background-color: #2a04bd;
  color: #ffffff;
}
Border
.border-2a04bd {
  border: 2px solid #2a04bd;
}
CSS variables
:root {
  --color-primary: #2a04bd;
  --color-primary-rgb: 42 4 189;
  --color-primary-hsl: 252 96% 38%;
}
Gradient
.gradient-2a04bd {
  background: linear-gradient(135deg, #2a04bd, #8604bd);
}
Colored shadow
.shadow-2a04bd {
  box-shadow: 0 8px 24px rgb(42 4 189 / 0.35);
}

Medium Blue
#2a04bd  rgb(42, 4, 189)  hsl(252, 96%, 38%)  Medium Blue
#97bd04  rgb(151, 189, 4)  hsl(72, 96%, 38%)  Apple Green
#bd2a04  rgb(189, 42, 4)  hsl(12, 96%, 38%)  Rosso Corsa
#04bd2a  rgb(4, 189, 42)  hsl(132, 96%, 38%)  Kelly Green