#3402CF

#3402cf ≈ Medium Blue

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

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

Description generated from the measured properties of this color.

Conversions of #3402cf 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 #3c3291 ≈ 0.001% of males
Protanopia #0049d4 ≈ 1.01% of males
Deuteranopia #0038cc ≈ 1.27% of males
Tritanopia #005579 ≈ 0.0001% of males
Protanomaly #0038d2 ≈ 1.08% of males
Deuteranomaly #002bcd ≈ 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-3402cf {
  color: #3402cf;
}
Background
.bg-3402cf {
  background-color: #3402cf;
  color: #ffffff;
}
Border
.border-3402cf {
  border: 2px solid #3402cf;
}
CSS variables
:root {
  --color-primary: #3402cf;
  --color-primary-rgb: 52 2 207;
  --color-primary-hsl: 255 98% 41%;
}
Gradient
.gradient-3402cf {
  background: linear-gradient(135deg, #3402cf, #9a02cf);
}
Colored shadow
.shadow-3402cf {
  box-shadow: 0 8px 24px rgb(52 2 207 / 0.35);
}

Medium Blue
#3402cf  rgb(52, 2, 207)  hsl(255, 98%, 41%)  Medium Blue
#9dcf02  rgb(157, 207, 2)  hsl(75, 98%, 41%)  Yellow Green
#cf3402  rgb(207, 52, 2)  hsl(15, 98%, 41%)  Sinopia
#02cf34  rgb(2, 207, 52)  hsl(135, 98%, 41%)  Lime Green