#0740FF

#0740ff ≈ Majorelle Blue

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

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

Description generated from the measured properties of this color.

Conversions of #0740ff 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.1093

Readable text 6.59:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5d5d5d ≈ 0.003% of males
Achromatomaly #4953b6 ≈ 0.001% of males
Protanopia #0068ff ≈ 1.01% of males
Deuteranopia #0051fc ≈ 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-0740ff {
  color: #0740ff;
}
Background
.bg-0740ff {
  background-color: #0740ff;
  color: #ffffff;
}
Border
.border-0740ff {
  border: 2px solid #0740ff;
}
CSS variables
:root {
  --color-primary: #0740ff;
  --color-primary-rgb: 7 64 255;
  --color-primary-hsl: 226 100% 51%;
}
Gradient
.gradient-0740ff {
  background: linear-gradient(135deg, #0740ff, #4a07ff);
}
Colored shadow
.shadow-0740ff {
  box-shadow: 0 8px 24px rgb(7 64 255 / 0.35);
}

Majorelle Blue
#0740ff  rgb(7, 64, 255)  hsl(226, 100%, 51%)  Majorelle Blue
#ffc607  rgb(255, 198, 7)  hsl(46, 100%, 51%)  Mikado Yellow
#ff0740  rgb(255, 7, 64)  hsl(346, 100%, 51%)  Tractor Red
#40ff07  rgb(64, 255, 7)  hsl(106, 100%, 51%)  Harlequin