#1840CD

#1840cd ≈ Persian Blue

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

#1840cd is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 9.41% red, 25.1% green and 80.39% blue; printed in CMYK it uses 88.29% cyan, 68.78% magenta, 0% yellow and 19.61% black. Its hue angle is 226.74°, with 79.04% saturation and 44.9% 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.91:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 2.99.

Description generated from the measured properties of this color.

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

Readable text 7.91:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #414b93 ≈ 0.001% of males
Protanopia #005ad1 ≈ 1.01% of males
Deuteranopia #0049ca ≈ 1.27% of males
Tritanopia #006881 ≈ 0.0001% of males
Protanomaly #0051d0 ≈ 1.08% of males
Deuteranomaly #0045cb ≈ 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-1840cd {
  color: #1840cd;
}
Background
.bg-1840cd {
  background-color: #1840cd;
  color: #ffffff;
}
Border
.border-1840cd {
  border: 2px solid #1840cd;
}
CSS variables
:root {
  --color-primary: #1840cd;
  --color-primary-rgb: 24 64 205;
  --color-primary-hsl: 227 79% 45%;
}
Gradient
.gradient-1840cd {
  background: linear-gradient(135deg, #1840cd, #4a18cd);
}
Colored shadow
.shadow-1840cd {
  box-shadow: 0 8px 24px rgb(24 64 205 / 0.35);
}

Persian Blue
#1840cd  rgb(24, 64, 205)  hsl(227, 79%, 45%)  Persian Blue
#cda518  rgb(205, 165, 24)  hsl(47, 79%, 45%)  Metallic Gold
#cd1840  rgb(205, 24, 64)  hsl(347, 79%, 45%)  Cardinal
#40cd18  rgb(64, 205, 24)  hsl(107, 79%, 45%)  Lime Green