#2F02CE

#2f02ce ≈ Medium Blue

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

#2f02ce is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 0.78% green and 80.78% blue; printed in CMYK it uses 77.18% cyan, 99.03% magenta, 0% yellow and 19.22% black. Its hue angle is 253.24°, with 98.08% saturation and 40.78% 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.39:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.91.

Description generated from the measured properties of this color.

Conversions of #2f02ce 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.051

Readable text 10.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.02:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #3a3190 ≈ 0.001% of males
Protanopia #0048d3 ≈ 1.01% of males
Deuteranopia #0037cb ≈ 1.27% of males
Tritanopia #005478 ≈ 0.0001% of males
Protanomaly #0038d1 ≈ 1.08% of males
Deuteranomaly #002acc ≈ 4.63% of males
Tritanomaly #0042a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f02ce {
  color: #2f02ce;
}
Background
.bg-2f02ce {
  background-color: #2f02ce;
  color: #ffffff;
}
Border
.border-2f02ce {
  border: 2px solid #2f02ce;
}
CSS variables
:root {
  --color-primary: #2f02ce;
  --color-primary-rgb: 47 2 206;
  --color-primary-hsl: 253 98% 41%;
}
Gradient
.gradient-2f02ce {
  background: linear-gradient(135deg, #2f02ce, #9502ce);
}
Colored shadow
.shadow-2f02ce {
  box-shadow: 0 8px 24px rgb(47 2 206 / 0.35);
}

Medium Blue
#2f02ce  rgb(47, 2, 206)  hsl(253, 98%, 41%)  Medium Blue
#a1ce02  rgb(161, 206, 2)  hsl(73, 98%, 41%)  Yellow Green
#ce2f02  rgb(206, 47, 2)  hsl(13, 98%, 41%)  Sinopia
#02ce2f  rgb(2, 206, 47)  hsl(133, 98%, 41%)  Lime Green