#2142CB

#2142cb ≈ Persian Blue

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

#2142cb 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.88% green and 79.61% blue; printed in CMYK it uses 83.74% cyan, 67.49% magenta, 0% yellow and 20.39% black. Its hue angle is 228.35°, 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.76:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.25.

Description generated from the measured properties of this color.

Conversions of #2142cb 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.0853

Readable text 7.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #444c93 ≈ 0.001% of males
Protanopia #005bcf ≈ 1.01% of males
Deuteranopia #004ac8 ≈ 1.27% of males
Tritanopia #006881 ≈ 0.0001% of males
Protanomaly #0052ce ≈ 1.08% of males
Deuteranomaly #0047ca ≈ 4.63% of males
Tritanomaly #005ba4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Blue
#2142cb  rgb(33, 66, 203)  hsl(228, 72%, 46%)  Persian Blue
#cbaa21  rgb(203, 170, 33)  hsl(48, 72%, 46%)  Metallic Gold
#cb2142  rgb(203, 33, 66)  hsl(348, 72%, 46%)  Cardinal
#42cb21  rgb(66, 203, 33)  hsl(108, 72%, 46%)  Lime Green