#340EFB

#340efb ≈ Ultramarine

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

#340efb 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 98.43% blue; printed in CMYK it uses 79.28% cyan, 94.42% magenta, 0% yellow and 1.57% black. Its hue angle is 249.62°, with 96.73% saturation and 51.96% 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.07:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 0.96.

Description generated from the measured properties of this color.

Conversions of #340efb 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.0801

Readable text 8.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #463fb0 ≈ 0.001% of males
Protanopia #005aff ≈ 1.01% of males
Deuteranopia #0044f8 ≈ 1.27% of males
Tritanopia #006a94 ≈ 0.0001% of males
Protanomaly #0047fe ≈ 1.08% of males
Deuteranomaly #0036f9 ≈ 4.63% of males
Tritanomaly #0054c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#340efb  rgb(52, 14, 251)  hsl(250, 97%, 52%)  Ultramarine
#d5fb0e  rgb(213, 251, 14)  hsl(70, 97%, 52%)  Chartreuse Yellow
#fb340e  rgb(251, 52, 14)  hsl(10, 97%, 52%)  Ferrari Red
#0efb34  rgb(14, 251, 52)  hsl(130, 97%, 52%)  Lime