#340EDD

#340edd ≈ Blue

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

#340edd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 20.39% red, 5.49% green and 86.67% blue; printed in CMYK it uses 76.47% cyan, 93.67% magenta, 0% yellow and 13.33% black. Its hue angle is 251.01°, with 88.09% saturation and 46.08% 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.32:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.47.

Description generated from the measured properties of this color.

Conversions of #340edd 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.0626

Readable text 9.32:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.25:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #40389b ≈ 0.001% of males
Protanopia #004fe2 ≈ 1.01% of males
Deuteranopia #003dda ≈ 1.27% of males
Tritanopia #005c82 ≈ 0.0001% of males
Protanomaly #003fe0 ≈ 1.08% of males
Deuteranomaly #0030db ≈ 4.63% of males
Tritanomaly #0049ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#340edd  rgb(52, 14, 221)  hsl(251, 88%, 46%)  Blue
#b7dd0e  rgb(183, 221, 14)  hsl(71, 88%, 46%)  Pear
#dd340e  rgb(221, 52, 14)  hsl(11, 88%, 46%)  Sinopia
#0edd34  rgb(14, 221, 52)  hsl(131, 88%, 46%)  Malachite