#340FBC

#340fbc ≈ Medium Blue

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

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

Description generated from the measured properties of this color.

Conversions of #340fbc 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.047

Readable text 10.82:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3d3d3d ≈ 0.003% of males
Achromatomaly #3a3084 ≈ 0.001% of males
Protanopia #0044c0 ≈ 1.01% of males
Deuteranopia #0036b9 ≈ 1.27% of males
Tritanopia #004e6e ≈ 0.0001% of males
Protanomaly #0036bf ≈ 1.08% of males
Deuteranomaly #002bba ≈ 4.63% of males
Tritanomaly #003e94 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#340fbc  rgb(52, 15, 188)  hsl(253, 85%, 40%)  Medium Blue
#97bc0f  rgb(151, 188, 15)  hsl(73, 85%, 40%)  Apple Green
#bc340f  rgb(188, 52, 15)  hsl(13, 85%, 40%)  Rust
#0fbc34  rgb(15, 188, 52)  hsl(133, 85%, 40%)  Kelly Green