#340FCA

#340fca ≈ Medium Blue

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#340fca is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 20.39% red, 5.88% green and 79.22% blue; printed in CMYK it uses 74.26% cyan, 92.57% magenta, 0% yellow and 20.78% black. Its hue angle is 251.87°, with 86.18% saturation and 42.55% 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 10.16:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.49.

Description generated from the measured properties of this color.

Conversions of #340fca into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3300cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0534

Readable text 10.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.07:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #3c348d ≈ 0.001% of males
Protanopia #0049cf ≈ 1.01% of males
Deuteranopia #0039c7 ≈ 1.27% of males
Tritanopia #005477 ≈ 0.0001% of males
Protanomaly #003acd ≈ 1.08% of males
Deuteranomaly #002dc8 ≈ 4.63% of males
Tritanomaly #00429f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-340fca {
  color: #340fca;
}
Background
.bg-340fca {
  background-color: #340fca;
  color: #ffffff;
}
Border
.border-340fca {
  border: 2px solid #340fca;
}
CSS variables
:root {
  --color-primary: #340fca;
  --color-primary-rgb: 52 15 202;
  --color-primary-hsl: 252 86% 43%;
}
Gradient
.gradient-340fca {
  background: linear-gradient(135deg, #340fca, #920fca);
}
Colored shadow
.shadow-340fca {
  box-shadow: 0 8px 24px rgb(52 15 202 / 0.35);
}

Medium Blue
#340fca  rgb(52, 15, 202)  hsl(252, 86%, 43%)  Medium Blue
#a5ca0f  rgb(165, 202, 15)  hsl(72, 86%, 43%)  Yellow Green
#ca340f  rgb(202, 52, 15)  hsl(12, 86%, 43%)  Sinopia
#0fca34  rgb(15, 202, 52)  hsl(132, 86%, 43%)  Lime Green