#1940FF

#1940ff ≈ Majorelle Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#1940ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 9.8% red, 25.1% green and 100% blue; printed in CMYK it uses 90.2% cyan, 74.9% magenta, 0% yellow and 0% black. Its hue angle is 229.83°, with 100% saturation and 54.9% 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.52:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 6.72.

Description generated from the measured properties of this color.

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

Readable text 6.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #4b53b6 ≈ 0.001% of males
Protanopia #0069ff ≈ 1.01% of males
Deuteranopia #0052fc ≈ 1.27% of males
Tritanopia #007a9d ≈ 0.0001% of males
Protanomaly #005bff ≈ 1.08% of males
Deuteranomaly #004bfd ≈ 4.63% of males
Tritanomaly #0068cc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1940ff {
  color: #1940ff;
}
Background
.bg-1940ff {
  background-color: #1940ff;
  color: #ffffff;
}
Border
.border-1940ff {
  border: 2px solid #1940ff;
}
CSS variables
:root {
  --color-primary: #1940ff;
  --color-primary-rgb: 25 64 255;
  --color-primary-hsl: 230 100% 55%;
}
Gradient
.gradient-1940ff {
  background: linear-gradient(135deg, #1940ff, #6519ff);
}
Colored shadow
.shadow-1940ff {
  box-shadow: 0 8px 24px rgb(25 64 255 / 0.35);
}

Majorelle Blue
#1940ff  rgb(25, 64, 255)  hsl(230, 100%, 55%)  Majorelle Blue
#ffd819  rgb(255, 216, 25)  hsl(50, 100%, 55%)  Gold
#ff1940  rgb(255, 25, 64)  hsl(350, 100%, 55%)  Tractor Red
#40ff19  rgb(64, 255, 25)  hsl(110, 100%, 55%)  Neon Green