#2F04BD

#2f04bd ≈ Medium Blue

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

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

Description generated from the measured properties of this color.

Conversions of #2f04bd 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.0437

Readable text 11.21: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 #372d84 ≈ 0.001% of males
Protanopia #0042c1 ≈ 1.01% of males
Deuteranopia #0033ba ≈ 1.27% of males
Tritanopia #004d6e ≈ 0.0001% of males
Protanomaly #0033c0 ≈ 1.08% of males
Deuteranomaly #0027bb ≈ 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-2f04bd {
  color: #2f04bd;
}
Background
.bg-2f04bd {
  background-color: #2f04bd;
  color: #ffffff;
}
Border
.border-2f04bd {
  border: 2px solid #2f04bd;
}
CSS variables
:root {
  --color-primary: #2f04bd;
  --color-primary-rgb: 47 4 189;
  --color-primary-hsl: 254 96% 38%;
}
Gradient
.gradient-2f04bd {
  background: linear-gradient(135deg, #2f04bd, #8b04bd);
}
Colored shadow
.shadow-2f04bd {
  box-shadow: 0 8px 24px rgb(47 4 189 / 0.35);
}

Medium Blue
#2f04bd  rgb(47, 4, 189)  hsl(254, 96%, 38%)  Medium Blue
#92bd04  rgb(146, 189, 4)  hsl(74, 96%, 38%)  Apple Green
#bd2f04  rgb(189, 47, 4)  hsl(14, 96%, 38%)  Rust
#04bd2f  rgb(4, 189, 47)  hsl(134, 96%, 38%)  Kelly Green