#334DEF

#334def ≈ Majorelle Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#334def is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 30.2% green and 93.73% blue; printed in CMYK it uses 78.66% cyan, 67.78% magenta, 0% yellow and 6.27% black. Its hue angle is 231.7°, with 85.45% saturation and 56.86% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 6.09:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 4.88.

Description generated from the measured properties of this color.

Conversions of #334def into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3366ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1224

Readable text 6.09:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #535aad ≈ 0.001% of males
Protanopia #006bf4 ≈ 1.01% of males
Deuteranopia #0059ec ≈ 1.27% of males
Tritanopia #007a98 ≈ 0.0001% of males
Protanomaly #0061f2 ≈ 1.08% of males
Deuteranomaly #0055ed ≈ 4.63% of males
Tritanomaly #006bc1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-334def {
  color: #334def;
}
Background
.bg-334def {
  background-color: #334def;
  color: #ffffff;
}
Border
.border-334def {
  border: 2px solid #334def;
}
CSS variables
:root {
  --color-primary: #334def;
  --color-primary-rgb: 51 77 239;
  --color-primary-hsl: 232 85% 57%;
}
Gradient
.gradient-334def {
  background: linear-gradient(135deg, #334def, #7733ef);
}
Colored shadow
.shadow-334def {
  box-shadow: 0 8px 24px rgb(51 77 239 / 0.35);
}

Majorelle Blue
#334def  rgb(51, 77, 239)  hsl(232, 85%, 57%)  Majorelle Blue
#efd533  rgb(239, 213, 51)  hsl(52, 85%, 57%)  Citrine
#ef334d  rgb(239, 51, 77)  hsl(352, 85%, 57%)  Folly
#4def33  rgb(77, 239, 51)  hsl(112, 85%, 57%)  Neon Green