#1940EF

#1940ef ≈ Iris

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

#1940ef 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 93.73% blue; printed in CMYK it uses 89.54% cyan, 73.22% magenta, 0% yellow and 6.27% black. Its hue angle is 229.07°, with 86.99% saturation and 51.76% 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.95:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 6.61.

Description generated from the measured properties of this color.

Conversions of #1940ef 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.1011

Readable text 6.95:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #4850ab ≈ 0.001% of males
Protanopia #0064f4 ≈ 1.01% of males
Deuteranopia #004fec ≈ 1.27% of males
Tritanopia #007494 ≈ 0.0001% of males
Protanomaly #0058f2 ≈ 1.08% of males
Deuteranomaly #0049ed ≈ 4.63% of males
Tritanomaly #0063bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1940ef {
  color: #1940ef;
}
Background
.bg-1940ef {
  background-color: #1940ef;
  color: #ffffff;
}
Border
.border-1940ef {
  border: 2px solid #1940ef;
}
CSS variables
:root {
  --color-primary: #1940ef;
  --color-primary-rgb: 25 64 239;
  --color-primary-hsl: 229 87% 52%;
}
Gradient
.gradient-1940ef {
  background: linear-gradient(135deg, #1940ef, #5d19ef);
}
Colored shadow
.shadow-1940ef {
  box-shadow: 0 8px 24px rgb(25 64 239 / 0.35);
}

Iris
#1940ef  rgb(25, 64, 239)  hsl(229, 87%, 52%)  Iris
#efc819  rgb(239, 200, 25)  hsl(49, 87%, 52%)  Jonquil
#ef1940  rgb(239, 25, 64)  hsl(349, 87%, 52%)  Tractor Red
#40ef19  rgb(64, 239, 25)  hsl(109, 87%, 52%)  Neon Green