#340BEF

#340bef ≈ Blue

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

#340bef 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 93.73% blue; printed in CMYK it uses 78.24% cyan, 95.4% magenta, 0% yellow and 6.27% black. Its hue angle is 250.79°, with 91.2% saturation and 49.02% 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 8.61:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 1.76.

Description generated from the measured properties of this color.

Conversions of #340bef into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3300ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.072

Readable text 8.61:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.44:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #433ca7 ≈ 0.001% of males
Protanopia #0056f4 ≈ 1.01% of males
Deuteranopia #0041ec ≈ 1.27% of males
Tritanopia #00648d ≈ 0.0001% of males
Protanomaly #0043f2 ≈ 1.08% of males
Deuteranomaly #0033ed ≈ 4.63% of males
Tritanomaly #004fbc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#340bef  rgb(52, 11, 239)  hsl(251, 91%, 49%)  Blue
#c6ef0b  rgb(198, 239, 11)  hsl(71, 91%, 49%)  Electric Lime
#ef340b  rgb(239, 52, 11)  hsl(11, 91%, 49%)  Scarlet
#0bef34  rgb(11, 239, 52)  hsl(131, 91%, 49%)  Lime