#340FFD

#340ffd ≈ Ultramarine

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

#340ffd 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 99.22% blue; printed in CMYK it uses 79.45% cyan, 94.07% magenta, 0% yellow and 0.78% black. Its hue angle is 249.33°, with 98.35% 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.98:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 0.88.

Description generated from the measured properties of this color.

Conversions of #340ffd 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.0816

Readable text 7.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #4740b1 ≈ 0.001% of males
Protanopia #005bff ≈ 1.01% of males
Deuteranopia #0045f9 ≈ 1.27% of males
Tritanopia #006b95 ≈ 0.0001% of males
Protanomaly #0048ff ≈ 1.08% of males
Deuteranomaly #0037fb ≈ 4.63% of males
Tritanomaly #0055c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#340ffd  rgb(52, 15, 253)  hsl(249, 98%, 53%)  Ultramarine
#d8fd0f  rgb(216, 253, 15)  hsl(69, 98%, 53%)  Chartreuse Yellow
#fd340f  rgb(253, 52, 15)  hsl(9, 98%, 53%)  Ferrari Red
#0ffd34  rgb(15, 253, 52)  hsl(129, 98%, 53%)  Lime