#340FF7

#340ff7 ≈ Ultramarine

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

#340ff7 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 96.86% blue; printed in CMYK it uses 78.95% cyan, 93.93% magenta, 0% yellow and 3.14% black. Its hue angle is 249.57°, with 93.55% saturation and 51.37% 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.21:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.28.

Description generated from the measured properties of this color.

Conversions of #340ff7 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.0779

Readable text 8.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #463ead ≈ 0.001% of males
Protanopia #0059fd ≈ 1.01% of males
Deuteranopia #0043f4 ≈ 1.27% of males
Tritanopia #006892 ≈ 0.0001% of males
Protanomaly #0046fa ≈ 1.08% of males
Deuteranomaly #0035f5 ≈ 4.63% of males
Tritanomaly #0052c3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#340ff7  rgb(52, 15, 247)  hsl(250, 94%, 51%)  Ultramarine
#d2f70f  rgb(210, 247, 15)  hsl(70, 94%, 51%)  Chartreuse Yellow
#f7340f  rgb(247, 52, 15)  hsl(10, 94%, 51%)  Ferrari Red
#0ff734  rgb(15, 247, 52)  hsl(130, 94%, 51%)  Lime