#2802CF

#2802cf ≈ Medium Blue

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

#2802cf is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 15.69% red, 0.78% green and 81.18% blue; printed in CMYK it uses 80.68% cyan, 99.03% magenta, 0% yellow and 18.82% black. Its hue angle is 251.12°, with 98.09% saturation and 40.98% 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.5:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.53.

Description generated from the measured properties of this color.

Conversions of #2802cf 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.05

Readable text 10.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3f3f3f ≈ 0.003% of males
Achromatomaly #373190 ≈ 0.001% of males
Protanopia #0048d4 ≈ 1.01% of males
Deuteranopia #0035cc ≈ 1.27% of males
Tritanopia #005579 ≈ 0.0001% of males
Protanomaly #0038d2 ≈ 1.08% of males
Deuteranomaly #0029cd ≈ 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-2802cf {
  color: #2802cf;
}
Background
.bg-2802cf {
  background-color: #2802cf;
  color: #ffffff;
}
Border
.border-2802cf {
  border: 2px solid #2802cf;
}
CSS variables
:root {
  --color-primary: #2802cf;
  --color-primary-rgb: 40 2 207;
  --color-primary-hsl: 251 98% 41%;
}
Gradient
.gradient-2802cf {
  background: linear-gradient(135deg, #2802cf, #8e02cf);
}
Colored shadow
.shadow-2802cf {
  box-shadow: 0 8px 24px rgb(40 2 207 / 0.35);
}

Medium Blue
#2802cf  rgb(40, 2, 207)  hsl(251, 98%, 41%)  Medium Blue
#a9cf02  rgb(169, 207, 2)  hsl(71, 98%, 41%)  Yellow Green
#cf2802  rgb(207, 40, 2)  hsl(11, 98%, 41%)  Rosso Corsa
#02cf28  rgb(2, 207, 40)  hsl(131, 98%, 41%)  Lime Green