#340ABC

#340abc ≈ Medium Blue

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#340abc is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 20.39% red, 3.92% green and 73.73% blue; printed in CMYK it uses 72.34% cyan, 94.68% magenta, 0% yellow and 26.27% black. Its hue angle is 254.16°, with 89.9% saturation and 38.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 10.96:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.57.

Description generated from the measured properties of this color.

Conversions of #340abc 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.0458

Readable text 10.96:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.92:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3c3c3c ≈ 0.003% of males
Achromatomaly #392f83 ≈ 0.001% of males
Protanopia #0043c0 ≈ 1.01% of males
Deuteranopia #0035b9 ≈ 1.27% of males
Tritanopia #004d6e ≈ 0.0001% of males
Protanomaly #0034bf ≈ 1.08% of males
Deuteranomaly #0029ba ≈ 4.63% of males
Tritanomaly #003c94 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-340abc {
  color: #340abc;
}
Background
.bg-340abc {
  background-color: #340abc;
  color: #ffffff;
}
Border
.border-340abc {
  border: 2px solid #340abc;
}
CSS variables
:root {
  --color-primary: #340abc;
  --color-primary-rgb: 52 10 188;
  --color-primary-hsl: 254 90% 39%;
}
Gradient
.gradient-340abc {
  background: linear-gradient(135deg, #340abc, #8d0abc);
}
Colored shadow
.shadow-340abc {
  box-shadow: 0 8px 24px rgb(52 10 188 / 0.35);
}

Medium Blue
#340abc  rgb(52, 10, 188)  hsl(254, 90%, 39%)  Medium Blue
#92bc0a  rgb(146, 188, 10)  hsl(74, 90%, 39%)  Apple Green
#bc340a  rgb(188, 52, 10)  hsl(14, 90%, 39%)  Rust
#0abc34  rgb(10, 188, 52)  hsl(134, 90%, 39%)  Kelly Green