#340FDD

#340fdd ≈ Blue

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

#340fdd 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.88% green and 86.67% blue; printed in CMYK it uses 76.47% cyan, 93.21% magenta, 0% yellow and 13.33% black. Its hue angle is 250.78°, with 87.29% 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.3:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.46.

Description generated from the measured properties of this color.

Conversions of #340fdd 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.0629

Readable text 9.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.26:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #40389b ≈ 0.001% of males
Protanopia #0050e2 ≈ 1.01% of males
Deuteranopia #003dda ≈ 1.27% of males
Tritanopia #005d82 ≈ 0.0001% of males
Protanomaly #003fe0 ≈ 1.08% of males
Deuteranomaly #0031db ≈ 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-340fdd {
  color: #340fdd;
}
Background
.bg-340fdd {
  background-color: #340fdd;
  color: #ffffff;
}
Border
.border-340fdd {
  border: 2px solid #340fdd;
}
CSS variables
:root {
  --color-primary: #340fdd;
  --color-primary-rgb: 52 15 221;
  --color-primary-hsl: 251 87% 46%;
}
Gradient
.gradient-340fdd {
  background: linear-gradient(135deg, #340fdd, #9b0fdd);
}
Colored shadow
.shadow-340fdd {
  box-shadow: 0 8px 24px rgb(52 15 221 / 0.35);
}

Blue
#340fdd  rgb(52, 15, 221)  hsl(251, 87%, 46%)  Blue
#b8dd0f  rgb(184, 221, 15)  hsl(71, 87%, 46%)  Pear
#dd340f  rgb(221, 52, 15)  hsl(11, 87%, 46%)  Sinopia
#0fdd34  rgb(15, 221, 52)  hsl(131, 87%, 46%)  Malachite