#340BB3

#340bb3 ≈ Medium Blue

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

#340bb3 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 20.39% red, 4.31% green and 70.2% blue; printed in CMYK it uses 70.95% cyan, 93.85% magenta, 0% yellow and 29.8% black. Its hue angle is 254.64°, with 88.42% saturation and 37.25% 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.38:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.34.

Description generated from the measured properties of this color.

Conversions of #340bb3 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.0422

Readable text 11.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3a3a3a ≈ 0.003% of males
Achromatomaly #382d7d ≈ 0.001% of males
Protanopia #0040b7 ≈ 1.01% of males
Deuteranopia #0033b0 ≈ 1.27% of males
Tritanopia #004968 ≈ 0.0001% of males
Protanomaly #0032b5 ≈ 1.08% of males
Deuteranomaly #0028b1 ≈ 4.63% of males
Tritanomaly #00398c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-340bb3 {
  color: #340bb3;
}
Background
.bg-340bb3 {
  background-color: #340bb3;
  color: #ffffff;
}
Border
.border-340bb3 {
  border: 2px solid #340bb3;
}
CSS variables
:root {
  --color-primary: #340bb3;
  --color-primary-rgb: 52 11 179;
  --color-primary-hsl: 255 88% 37%;
}
Gradient
.gradient-340bb3 {
  background: linear-gradient(135deg, #340bb3, #880bb3);
}
Colored shadow
.shadow-340bb3 {
  box-shadow: 0 8px 24px rgb(52 11 179 / 0.35);
}

Medium Blue
#340bb3  rgb(52, 11, 179)  hsl(255, 88%, 37%)  Medium Blue
#8ab30b  rgb(138, 179, 11)  hsl(75, 88%, 37%)  Apple Green
#b3340b  rgb(179, 52, 11)  hsl(15, 88%, 37%)  Rust
#0bb334  rgb(11, 179, 52)  hsl(135, 88%, 37%)  Kelly Green