#340FEB

#340feb ≈ Blue

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

#340feb 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 92.16% blue; printed in CMYK it uses 77.87% cyan, 93.62% magenta, 0% yellow and 7.84% black. Its hue angle is 250.09°, with 88% 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.7:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.06.

Description generated from the measured properties of this color.

Conversions of #340feb 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.0707

Readable text 8.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.41:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #433ba5 ≈ 0.001% of males
Protanopia #0055f0 ≈ 1.01% of males
Deuteranopia #0041e8 ≈ 1.27% of males
Tritanopia #00638a ≈ 0.0001% of males
Protanomaly #0043ee ≈ 1.08% of males
Deuteranomaly #0033e9 ≈ 4.63% of males
Tritanomaly #004eb9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-340feb {
  color: #340feb;
}
Background
.bg-340feb {
  background-color: #340feb;
  color: #ffffff;
}
Border
.border-340feb {
  border: 2px solid #340feb;
}
CSS variables
:root {
  --color-primary: #340feb;
  --color-primary-rgb: 52 15 235;
  --color-primary-hsl: 250 88% 49%;
}
Gradient
.gradient-340feb {
  background: linear-gradient(135deg, #340feb, #a20feb);
}
Colored shadow
.shadow-340feb {
  box-shadow: 0 8px 24px rgb(52 15 235 / 0.35);
}

Blue
#340feb  rgb(52, 15, 235)  hsl(250, 88%, 49%)  Blue
#c6eb0f  rgb(198, 235, 15)  hsl(70, 88%, 49%)  Pear
#eb340f  rgb(235, 52, 15)  hsl(10, 88%, 49%)  Candy Apple Red
#0feb34  rgb(15, 235, 52)  hsl(130, 88%, 49%)  Lime