#340FEF

#340fef ≈ Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#340fef is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20.39% red, 5.88% green and 93.73% blue; printed in CMYK it uses 78.24% cyan, 93.72% magenta, 0% yellow and 6.27% black. Its hue angle is 249.91°, with 88.19% saturation and 49.8% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 8.53:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 1.79.

Description generated from the measured properties of this color.

Conversions of #340fef 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.073

Readable text 8.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #443ca8 ≈ 0.001% of males
Protanopia #0056f4 ≈ 1.01% of males
Deuteranopia #0042ec ≈ 1.27% of males
Tritanopia #00658d ≈ 0.0001% of males
Protanomaly #0044f2 ≈ 1.08% of males
Deuteranomaly #0034ed ≈ 4.63% of males
Tritanomaly #0050bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#340fef  rgb(52, 15, 239)  hsl(250, 88%, 50%)  Blue
#caef0f  rgb(202, 239, 15)  hsl(70, 88%, 50%)  Electric Lime
#ef340f  rgb(239, 52, 15)  hsl(10, 88%, 50%)  Scarlet
#0fef34  rgb(15, 239, 52)  hsl(130, 88%, 50%)  Lime