#1E40D4

#1e40d4 ≈ Persian Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#1e40d4 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 11.76% red, 25.1% green and 83.14% blue; printed in CMYK it uses 85.85% cyan, 69.81% magenta, 0% yellow and 16.86% black. Its hue angle is 228.79°, with 75.21% saturation and 47.45% 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 brand accents. White text on this color reaches a contrast ratio of 7.67:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.79.

Description generated from the measured properties of this color.

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

Readable text 7.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #444c98 ≈ 0.001% of males
Protanopia #005cd8 ≈ 1.01% of males
Deuteranopia #004ad1 ≈ 1.27% of males
Tritanopia #006a85 ≈ 0.0001% of males
Protanomaly #0052d7 ≈ 1.08% of males
Deuteranomaly #0046d2 ≈ 4.63% of males
Tritanomaly #005cab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1e40d4 {
  color: #1e40d4;
}
Background
.bg-1e40d4 {
  background-color: #1e40d4;
  color: #ffffff;
}
Border
.border-1e40d4 {
  border: 2px solid #1e40d4;
}
CSS variables
:root {
  --color-primary: #1e40d4;
  --color-primary-rgb: 30 64 212;
  --color-primary-hsl: 229 75% 47%;
}
Gradient
.gradient-1e40d4 {
  background: linear-gradient(135deg, #1e40d4, #571ed4);
}
Colored shadow
.shadow-1e40d4 {
  box-shadow: 0 8px 24px rgb(30 64 212 / 0.35);
}

Persian Blue
#1e40d4  rgb(30, 64, 212)  hsl(229, 75%, 47%)  Persian Blue
#d4b21e  rgb(212, 178, 30)  hsl(49, 75%, 47%)  Metallic Gold
#d41e40  rgb(212, 30, 64)  hsl(349, 75%, 47%)  Crimson
#40d41e  rgb(64, 212, 30)  hsl(109, 75%, 47%)  Lime Green