#340EFF

#340eff ≈ Ultramarine

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

#340eff 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 100% blue; printed in CMYK it uses 79.61% cyan, 94.51% magenta, 0% yellow and 0% black. Its hue angle is 249.46°, with 100% saturation and 52.75% 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.92:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 0.82.

Description generated from the measured properties of this color.

Conversions of #340eff 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.0826

Readable text 7.92:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #4740b3 ≈ 0.001% of males
Protanopia #005cff ≈ 1.01% of males
Deuteranopia #0045fb ≈ 1.27% of males
Tritanopia #006c96 ≈ 0.0001% of males
Protanomaly #0049ff ≈ 1.08% of males
Deuteranomaly #0037fd ≈ 4.63% of males
Tritanomaly #0055c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#340eff  rgb(52, 14, 255)  hsl(249, 100%, 53%)  Ultramarine
#d9ff0e  rgb(217, 255, 14)  hsl(69, 100%, 53%)  Chartreuse Yellow
#ff340e  rgb(255, 52, 14)  hsl(9, 100%, 53%)  Ferrari Red
#0eff34  rgb(14, 255, 52)  hsl(129, 100%, 53%)  Lime