#2140CB

#2140cb ≈ Persian Blue

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

#2140cb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 12.94% red, 25.1% green and 79.61% blue; printed in CMYK it uses 83.74% cyan, 68.47% magenta, 0% yellow and 20.39% black. Its hue angle is 229.06°, with 72.03% saturation and 46.27% 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.89:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 2.86.

Description generated from the measured properties of this color.

Conversions of #2140cb 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.083

Readable text 7.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #434b92 ≈ 0.001% of males
Protanopia #005acf ≈ 1.01% of males
Deuteranopia #0049c8 ≈ 1.27% of males
Tritanopia #006780 ≈ 0.0001% of males
Protanomaly #0051ce ≈ 1.08% of males
Deuteranomaly #0046c9 ≈ 4.63% of males
Tritanomaly #005aa4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2140cb {
  color: #2140cb;
}
Background
.bg-2140cb {
  background-color: #2140cb;
  color: #ffffff;
}
Border
.border-2140cb {
  border: 2px solid #2140cb;
}
CSS variables
:root {
  --color-primary: #2140cb;
  --color-primary-rgb: 33 64 203;
  --color-primary-hsl: 229 72% 46%;
}
Gradient
.gradient-2140cb {
  background: linear-gradient(135deg, #2140cb, #5721cb);
}
Colored shadow
.shadow-2140cb {
  box-shadow: 0 8px 24px rgb(33 64 203 / 0.35);
}

Persian Blue
#2140cb  rgb(33, 64, 203)  hsl(229, 72%, 46%)  Persian Blue
#cbac21  rgb(203, 172, 33)  hsl(49, 72%, 46%)  Metallic Gold
#cb2140  rgb(203, 33, 64)  hsl(349, 72%, 46%)  Cardinal
#40cb21  rgb(64, 203, 33)  hsl(109, 72%, 46%)  Lime Green