#0940EB

#0940eb ≈ Persian Blue

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

#0940eb 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 92.16% blue; printed in CMYK it uses 96.17% cyan, 72.77% magenta, 0% yellow and 7.84% black. Its hue angle is 225.4°, with 92.62% saturation and 47.84% 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 7.13:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 6.31.

Description generated from the measured properties of this color.

Conversions of #0940eb 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.0972

Readable text 7.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #454fa8 ≈ 0.001% of males
Protanopia #0062f0 ≈ 1.01% of males
Deuteranopia #004de8 ≈ 1.27% of males
Tritanopia #007392 ≈ 0.0001% of males
Protanomaly #0057ee ≈ 1.08% of males
Deuteranomaly #0048e9 ≈ 4.63% of males
Tritanomaly #0062bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0940eb {
  color: #0940eb;
}
Background
.bg-0940eb {
  background-color: #0940eb;
  color: #ffffff;
}
Border
.border-0940eb {
  border: 2px solid #0940eb;
}
CSS variables
:root {
  --color-primary: #0940eb;
  --color-primary-rgb: 9 64 235;
  --color-primary-hsl: 225 93% 48%;
}
Gradient
.gradient-0940eb {
  background: linear-gradient(135deg, #0940eb, #4309eb);
}
Colored shadow
.shadow-0940eb {
  box-shadow: 0 8px 24px rgb(9 64 235 / 0.35);
}

Persian Blue
#0940eb  rgb(9, 64, 235)  hsl(225, 93%, 48%)  Persian Blue
#ebb409  rgb(235, 180, 9)  hsl(45, 93%, 48%)  Meat Brown
#eb0940  rgb(235, 9, 64)  hsl(345, 93%, 48%)  Crimson
#40eb09  rgb(64, 235, 9)  hsl(105, 93%, 48%)  Neon Green