#1D40CD

#1d40cd ≈ Persian Blue

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

#1d40cd is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 11.37% red, 25.1% green and 80.39% blue; printed in CMYK it uses 85.85% cyan, 68.78% magenta, 0% yellow and 19.61% black. Its hue angle is 228.07°, with 75.21% saturation and 45.88% 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.87:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.02.

Description generated from the measured properties of this color.

Conversions of #1d40cd 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.0834

Readable text 7.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #424b94 ≈ 0.001% of males
Protanopia #005ad1 ≈ 1.01% of males
Deuteranopia #0049ca ≈ 1.27% of males
Tritanopia #006781 ≈ 0.0001% of males
Protanomaly #0051d0 ≈ 1.08% of males
Deuteranomaly #0046cb ≈ 4.63% of males
Tritanomaly #005aa5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1d40cd {
  color: #1d40cd;
}
Background
.bg-1d40cd {
  background-color: #1d40cd;
  color: #ffffff;
}
Border
.border-1d40cd {
  border: 2px solid #1d40cd;
}
CSS variables
:root {
  --color-primary: #1d40cd;
  --color-primary-rgb: 29 64 205;
  --color-primary-hsl: 228 75% 46%;
}
Gradient
.gradient-1d40cd {
  background: linear-gradient(135deg, #1d40cd, #521dcd);
}
Colored shadow
.shadow-1d40cd {
  box-shadow: 0 8px 24px rgb(29 64 205 / 0.35);
}

Persian Blue
#1d40cd  rgb(29, 64, 205)  hsl(228, 75%, 46%)  Persian Blue
#cdaa1d  rgb(205, 170, 29)  hsl(48, 75%, 46%)  Metallic Gold
#cd1d40  rgb(205, 29, 64)  hsl(348, 75%, 46%)  Cardinal
#40cd1d  rgb(64, 205, 29)  hsl(108, 75%, 46%)  Lime Green