#340CE0

#340ce0 ≈ Blue

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

#340ce0 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 20.39% red, 4.71% green and 87.84% blue; printed in CMYK it uses 76.79% cyan, 94.64% magenta, 0% yellow and 12.16% black. Its hue angle is 251.32°, with 89.83% saturation and 46.27% 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 9.23:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.17.

Description generated from the measured properties of this color.

Conversions of #340ce0 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.0637

Readable text 9.23:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.27:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #40389d ≈ 0.001% of males
Protanopia #0050e5 ≈ 1.01% of males
Deuteranopia #003edd ≈ 1.27% of males
Tritanopia #005e84 ≈ 0.0001% of males
Protanomaly #003fe3 ≈ 1.08% of males
Deuteranomaly #0030de ≈ 4.63% of males
Tritanomaly #004ab0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-340ce0 {
  color: #340ce0;
}
Background
.bg-340ce0 {
  background-color: #340ce0;
  color: #ffffff;
}
Border
.border-340ce0 {
  border: 2px solid #340ce0;
}
CSS variables
:root {
  --color-primary: #340ce0;
  --color-primary-rgb: 52 12 224;
  --color-primary-hsl: 251 90% 46%;
}
Gradient
.gradient-340ce0 {
  background: linear-gradient(135deg, #340ce0, #9e0ce0);
}
Colored shadow
.shadow-340ce0 {
  box-shadow: 0 8px 24px rgb(52 12 224 / 0.35);
}

Blue
#340ce0  rgb(52, 12, 224)  hsl(251, 90%, 46%)  Blue
#b8e00c  rgb(184, 224, 12)  hsl(71, 90%, 46%)  Pear
#e0340c  rgb(224, 52, 12)  hsl(11, 90%, 46%)  Sinopia
#0ce034  rgb(12, 224, 52)  hsl(131, 90%, 46%)  Malachite