#340AEF

#340aef ≈ Blue

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#340aef is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 20.39% red, 3.92% green and 93.73% blue; printed in CMYK it uses 78.24% cyan, 95.82% magenta, 0% yellow and 6.27% black. Its hue angle is 251°, with 91.97% saturation and 48.82% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 8.62:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 1.76.

Description generated from the measured properties of this color.

Conversions of #340aef 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.0718

Readable text 8.62:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.44:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #433ba7 ≈ 0.001% of males
Protanopia #0056f4 ≈ 1.01% of males
Deuteranopia #0041ec ≈ 1.27% of males
Tritanopia #00648d ≈ 0.0001% of males
Protanomaly #0043f2 ≈ 1.08% of males
Deuteranomaly #0033ed ≈ 4.63% of males
Tritanomaly #004fbc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#340aef  rgb(52, 10, 239)  hsl(251, 92%, 49%)  Blue
#c5ef0a  rgb(197, 239, 10)  hsl(71, 92%, 49%)  Electric Lime
#ef340a  rgb(239, 52, 10)  hsl(11, 92%, 49%)  Scarlet
#0aef34  rgb(10, 239, 52)  hsl(131, 92%, 49%)  Lime