#2A04BF

#2a04bf ≈ Medium Blue

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

#2a04bf 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.9% blue; printed in CMYK it uses 78.01% cyan, 97.91% magenta, 0% yellow and 25.1% black. Its hue angle is 252.19°, with 95.9% saturation and 38.24% 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.24:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.85.

Description generated from the measured properties of this color.

Conversions of #2a04bf 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.0434

Readable text 11.24:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.87:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3b3b3b ≈ 0.003% of males
Achromatomaly #352d85 ≈ 0.001% of males
Protanopia #0042c3 ≈ 1.01% of males
Deuteranopia #0032bc ≈ 1.27% of males
Tritanopia #004e6f ≈ 0.0001% of males
Protanomaly #0033c2 ≈ 1.08% of males
Deuteranomaly #0026bd ≈ 4.63% of males
Tritanomaly #003d96 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#2a04bf  rgb(42, 4, 191)  hsl(252, 96%, 38%)  Medium Blue
#99bf04  rgb(153, 191, 4)  hsl(72, 96%, 38%)  Apple Green
#bf2a04  rgb(191, 42, 4)  hsl(12, 96%, 38%)  Rosso Corsa
#04bf2a  rgb(4, 191, 42)  hsl(132, 96%, 38%)  Kelly Green