#2F0CBC

#2f0cbc ≈ Medium Blue

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

#2f0cbc is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 18.43% red, 4.71% green and 73.73% blue; printed in CMYK it uses 75% cyan, 93.62% magenta, 0% yellow and 26.27% black. Its hue angle is 251.93°, with 88% saturation and 39.22% 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.05:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.34.

Description generated from the measured properties of this color.

Conversions of #2f0cbc 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.045

Readable text 11.05:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.9:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3c3c3c ≈ 0.003% of males
Achromatomaly #372f83 ≈ 0.001% of males
Protanopia #0043c0 ≈ 1.01% of males
Deuteranopia #0034b9 ≈ 1.27% of males
Tritanopia #004e6e ≈ 0.0001% of males
Protanomaly #0035bf ≈ 1.08% of males
Deuteranomaly #0029ba ≈ 4.63% of males
Tritanomaly #003d94 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f0cbc {
  color: #2f0cbc;
}
Background
.bg-2f0cbc {
  background-color: #2f0cbc;
  color: #ffffff;
}
Border
.border-2f0cbc {
  border: 2px solid #2f0cbc;
}
CSS variables
:root {
  --color-primary: #2f0cbc;
  --color-primary-rgb: 47 12 188;
  --color-primary-hsl: 252 88% 39%;
}
Gradient
.gradient-2f0cbc {
  background: linear-gradient(135deg, #2f0cbc, #870cbc);
}
Colored shadow
.shadow-2f0cbc {
  box-shadow: 0 8px 24px rgb(47 12 188 / 0.35);
}

Medium Blue
#2f0cbc  rgb(47, 12, 188)  hsl(252, 88%, 39%)  Medium Blue
#99bc0c  rgb(153, 188, 12)  hsl(72, 88%, 39%)  Apple Green
#bc2f0c  rgb(188, 47, 12)  hsl(12, 88%, 39%)  Rust
#0cbc2f  rgb(12, 188, 47)  hsl(132, 88%, 39%)  Kelly Green