#340EFE

#340efe ≈ Ultramarine

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

#340efe 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.49% green and 99.61% blue; printed in CMYK it uses 79.53% cyan, 94.49% magenta, 0% yellow and 0.39% black. Its hue angle is 249.5°, with 99.17% saturation and 52.55% 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 7.95:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 0.83.

Description generated from the measured properties of this color.

Conversions of #340efe 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.082

Readable text 7.95:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #4740b2 ≈ 0.001% of males
Protanopia #005bff ≈ 1.01% of males
Deuteranopia #0045fa ≈ 1.27% of males
Tritanopia #006b96 ≈ 0.0001% of males
Protanomaly #0048ff ≈ 1.08% of males
Deuteranomaly #0036fc ≈ 4.63% of males
Tritanomaly #0055c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-340efe {
  color: #340efe;
}
Background
.bg-340efe {
  background-color: #340efe;
  color: #ffffff;
}
Border
.border-340efe {
  border: 2px solid #340efe;
}
CSS variables
:root {
  --color-primary: #340efe;
  --color-primary-rgb: 52 14 254;
  --color-primary-hsl: 250 99% 53%;
}
Gradient
.gradient-340efe {
  background: linear-gradient(135deg, #340efe, #ac0efe);
}
Colored shadow
.shadow-340efe {
  box-shadow: 0 8px 24px rgb(52 14 254 / 0.35);
}

Ultramarine
#340efe  rgb(52, 14, 254)  hsl(250, 99%, 53%)  Ultramarine
#d8fe0e  rgb(216, 254, 14)  hsl(70, 99%, 53%)  Chartreuse Yellow
#fe340e  rgb(254, 52, 14)  hsl(10, 99%, 53%)  Ferrari Red
#0efe34  rgb(14, 254, 52)  hsl(130, 99%, 53%)  Lime