#0940FA

#0940fa ≈ Majorelle Blue

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

#0940fa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 3.53% red, 25.1% green and 98.04% blue; printed in CMYK it uses 96.4% cyan, 74.4% magenta, 0% yellow and 1.96% black. Its hue angle is 226.31°, with 96.02% saturation and 50.78% 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.72:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 6.98.

Description generated from the measured properties of this color.

Conversions of #0940fa 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.1063

Readable text 6.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.13:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #4852b2 ≈ 0.001% of males
Protanopia #0067ff ≈ 1.01% of males
Deuteranopia #0050f7 ≈ 1.27% of males
Tritanopia #00789b ≈ 0.0001% of males
Protanomaly #005afd ≈ 1.08% of males
Deuteranomaly #004af8 ≈ 4.63% of males
Tritanomaly #0066c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0940fa {
  color: #0940fa;
}
Background
.bg-0940fa {
  background-color: #0940fa;
  color: #ffffff;
}
Border
.border-0940fa {
  border: 2px solid #0940fa;
}
CSS variables
:root {
  --color-primary: #0940fa;
  --color-primary-rgb: 9 64 250;
  --color-primary-hsl: 226 96% 51%;
}
Gradient
.gradient-0940fa {
  background: linear-gradient(135deg, #0940fa, #4a09fa);
}
Colored shadow
.shadow-0940fa {
  box-shadow: 0 8px 24px rgb(9 64 250 / 0.35);
}

Majorelle Blue
#0940fa  rgb(9, 64, 250)  hsl(226, 96%, 51%)  Majorelle Blue
#fac309  rgb(250, 195, 9)  hsl(46, 96%, 51%)  Golden Poppy
#fa0940  rgb(250, 9, 64)  hsl(346, 96%, 51%)  Tractor Red
#40fa09  rgb(64, 250, 9)  hsl(106, 96%, 51%)  Harlequin