#340BDF

#340bdf ≈ Blue

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

#340bdf 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.31% green and 87.45% blue; printed in CMYK it uses 76.68% cyan, 95.07% magenta, 0% yellow and 12.55% black. Its hue angle is 251.6°, with 90.6% saturation and 45.88% 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.29:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.29.

Description generated from the measured properties of this color.

Conversions of #340bdf 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.063

Readable text 9.29: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 #40389c ≈ 0.001% of males
Protanopia #0050e4 ≈ 1.01% of males
Deuteranopia #003ddc ≈ 1.27% of males
Tritanopia #005d83 ≈ 0.0001% of males
Protanomaly #003fe2 ≈ 1.08% of males
Deuteranomaly #0030dd ≈ 4.63% of males
Tritanomaly #0049af ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-340bdf {
  color: #340bdf;
}
Background
.bg-340bdf {
  background-color: #340bdf;
  color: #ffffff;
}
Border
.border-340bdf {
  border: 2px solid #340bdf;
}
CSS variables
:root {
  --color-primary: #340bdf;
  --color-primary-rgb: 52 11 223;
  --color-primary-hsl: 252 91% 46%;
}
Gradient
.gradient-340bdf {
  background: linear-gradient(135deg, #340bdf, #9e0bdf);
}
Colored shadow
.shadow-340bdf {
  box-shadow: 0 8px 24px rgb(52 11 223 / 0.35);
}

Blue
#340bdf  rgb(52, 11, 223)  hsl(252, 91%, 46%)  Blue
#b6df0b  rgb(182, 223, 11)  hsl(72, 91%, 46%)  Pear
#df340b  rgb(223, 52, 11)  hsl(12, 91%, 46%)  Sinopia
#0bdf34  rgb(11, 223, 52)  hsl(132, 91%, 46%)  Malachite