#1E40E7

#1e40e7 ≈ Persian Blue

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

#1e40e7 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 11.76% red, 25.1% green and 90.59% blue; printed in CMYK it uses 87.01% cyan, 72.29% magenta, 0% yellow and 9.41% black. Its hue angle is 229.85°, with 80.72% saturation and 51.18% 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.14:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 6.05.

Description generated from the measured properties of this color.

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

Readable text 7.14: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 #474fa5 ≈ 0.001% of males
Protanopia #0062ec ≈ 1.01% of males
Deuteranopia #004ee4 ≈ 1.27% of males
Tritanopia #007190 ≈ 0.0001% of males
Protanomaly #0056ea ≈ 1.08% of males
Deuteranomaly #0049e5 ≈ 4.63% of males
Tritanomaly #0061b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1e40e7 {
  color: #1e40e7;
}
Background
.bg-1e40e7 {
  background-color: #1e40e7;
  color: #ffffff;
}
Border
.border-1e40e7 {
  border: 2px solid #1e40e7;
}
CSS variables
:root {
  --color-primary: #1e40e7;
  --color-primary-rgb: 30 64 231;
  --color-primary-hsl: 230 81% 51%;
}
Gradient
.gradient-1e40e7 {
  background: linear-gradient(135deg, #1e40e7, #611ee7);
}
Colored shadow
.shadow-1e40e7 {
  box-shadow: 0 8px 24px rgb(30 64 231 / 0.35);
}

Persian Blue
#1e40e7  rgb(30, 64, 231)  hsl(230, 81%, 51%)  Persian Blue
#e7c51e  rgb(231, 197, 30)  hsl(50, 81%, 51%)  Jonquil
#e71e40  rgb(231, 30, 64)  hsl(350, 81%, 51%)  Crimson
#40e71e  rgb(64, 231, 30)  hsl(110, 81%, 51%)  Neon Green