#340FB3

#340fb3 ≈ Medium Blue

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

#340fb3 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 70.2% blue; printed in CMYK it uses 70.95% cyan, 91.62% magenta, 0% yellow and 29.8% black. Its hue angle is 253.54°, with 84.54% saturation and 38.04% 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 11.26:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.37.

Description generated from the measured properties of this color.

Conversions of #340fb3 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.0433

Readable text 11.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.87:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3b3b3b ≈ 0.003% of males
Achromatomaly #382e7d ≈ 0.001% of males
Protanopia #0041b7 ≈ 1.01% of males
Deuteranopia #0034b0 ≈ 1.27% of males
Tritanopia #004a69 ≈ 0.0001% of males
Protanomaly #0033b5 ≈ 1.08% of males
Deuteranomaly #0029b1 ≈ 4.63% of males
Tritanomaly #003a8d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#340fb3  rgb(52, 15, 179)  hsl(254, 85%, 38%)  Medium Blue
#8eb30f  rgb(142, 179, 15)  hsl(74, 85%, 38%)  Apple Green
#b3340f  rgb(179, 52, 15)  hsl(14, 85%, 38%)  Rust
#0fb334  rgb(15, 179, 52)  hsl(134, 85%, 38%)  Kelly Green