#2F04DA

#2f04da ≈ Medium Blue

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

#2f04da 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 85.49% blue; printed in CMYK it uses 78.44% cyan, 98.17% magenta, 0% yellow and 14.51% black. Its hue angle is 252.06°, 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.76:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.97.

Description generated from the measured properties of this color.

Conversions of #2f04da 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.0575

Readable text 9.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.15:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #444444 ≈ 0.003% of males
Achromatomaly #3c3598 ≈ 0.001% of males
Protanopia #004ddf ≈ 1.01% of males
Deuteranopia #003ad7 ≈ 1.27% of males
Tritanopia #005a7f ≈ 0.0001% of males
Protanomaly #003cdd ≈ 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-2f04da {
  color: #2f04da;
}
Background
.bg-2f04da {
  background-color: #2f04da;
  color: #ffffff;
}
Border
.border-2f04da {
  border: 2px solid #2f04da;
}
CSS variables
:root {
  --color-primary: #2f04da;
  --color-primary-rgb: 47 4 218;
  --color-primary-hsl: 252 96% 44%;
}
Gradient
.gradient-2f04da {
  background: linear-gradient(135deg, #2f04da, #9a04da);
}
Colored shadow
.shadow-2f04da {
  box-shadow: 0 8px 24px rgb(47 4 218 / 0.35);
}

Medium Blue
#2f04da  rgb(47, 4, 218)  hsl(252, 96%, 44%)  Medium Blue
#afda04  rgb(175, 218, 4)  hsl(72, 96%, 44%)  June Bud
#da2f04  rgb(218, 47, 4)  hsl(12, 96%, 44%)  Sinopia
#04da2f  rgb(4, 218, 47)  hsl(132, 96%, 44%)  Malachite