#2F0CCF

#2f0ccf ≈ Medium Blue

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

#2f0ccf 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 81.18% blue; printed in CMYK it uses 77.29% cyan, 94.2% magenta, 0% yellow and 18.82% black. Its hue angle is 250.77°, with 89.04% saturation and 42.94% 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.12:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.27.

Description generated from the measured properties of this color.

Conversions of #2f0ccf 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.0537

Readable text 10.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.07:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #424242 ≈ 0.003% of males
Achromatomaly #3b3391 ≈ 0.001% of males
Protanopia #004ad4 ≈ 1.01% of males
Deuteranopia #0038cc ≈ 1.27% of males
Tritanopia #005679 ≈ 0.0001% of males
Protanomaly #003ad2 ≈ 1.08% of males
Deuteranomaly #002ccd ≈ 4.63% of males
Tritanomaly #0044a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#2f0ccf  rgb(47, 12, 207)  hsl(251, 89%, 43%)  Medium Blue
#accf0c  rgb(172, 207, 12)  hsl(71, 89%, 43%)  Yellow Green
#cf2f0c  rgb(207, 47, 12)  hsl(11, 89%, 43%)  Rosso Corsa
#0ccf2f  rgb(12, 207, 47)  hsl(131, 89%, 43%)  Lime Green