#2F0CCD

#2f0ccd ≈ Medium Blue

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

#2f0ccd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 4.71% green and 80.39% blue; printed in CMYK it uses 77.07% cyan, 94.15% magenta, 0% yellow and 19.61% black. Its hue angle is 250.88°, with 88.94% saturation and 42.55% 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 10.22:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.15.

Description generated from the measured properties of this color.

Conversions of #2f0ccd 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.0528

Readable text 10.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.06:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #3b338f ≈ 0.001% of males
Protanopia #0049d2 ≈ 1.01% of males
Deuteranopia #0038ca ≈ 1.27% of males
Tritanopia #005578 ≈ 0.0001% of males
Protanomaly #0039d0 ≈ 1.08% of males
Deuteranomaly #002ccb ≈ 4.63% of males
Tritanomaly #0043a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f0ccd {
  color: #2f0ccd;
}
Background
.bg-2f0ccd {
  background-color: #2f0ccd;
  color: #ffffff;
}
Border
.border-2f0ccd {
  border: 2px solid #2f0ccd;
}
CSS variables
:root {
  --color-primary: #2f0ccd;
  --color-primary-rgb: 47 12 205;
  --color-primary-hsl: 251 89% 43%;
}
Gradient
.gradient-2f0ccd {
  background: linear-gradient(135deg, #2f0ccd, #900ccd);
}
Colored shadow
.shadow-2f0ccd {
  box-shadow: 0 8px 24px rgb(47 12 205 / 0.35);
}

Medium Blue
#2f0ccd  rgb(47, 12, 205)  hsl(251, 89%, 43%)  Medium Blue
#aacd0c  rgb(170, 205, 12)  hsl(71, 89%, 43%)  Yellow Green
#cd2f0c  rgb(205, 47, 12)  hsl(11, 89%, 43%)  Rosso Corsa
#0ccd2f  rgb(12, 205, 47)  hsl(131, 89%, 43%)  Lime Green