#2B42DC

#2b42dc ≈ Persian Blue

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

#2b42dc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 16.86% red, 25.88% green and 86.27% blue; printed in CMYK it uses 80.45% cyan, 70% magenta, 0% yellow and 13.73% black. Its hue angle is 232.2°, with 71.66% saturation and 51.57% 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.2:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 5.24.

Description generated from the measured properties of this color.

Conversions of #2b42dc 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.0958

Readable text 7.2:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.92:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #49509e ≈ 0.001% of males
Protanopia #0060e1 ≈ 1.01% of males
Deuteranopia #004fd9 ≈ 1.27% of males
Tritanopia #006e8a ≈ 0.0001% of males
Protanomaly #0055df ≈ 1.08% of males
Deuteranomaly #004ada ≈ 4.63% of males
Tritanomaly #005fb1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2b42dc {
  color: #2b42dc;
}
Background
.bg-2b42dc {
  background-color: #2b42dc;
  color: #ffffff;
}
Border
.border-2b42dc {
  border: 2px solid #2b42dc;
}
CSS variables
:root {
  --color-primary: #2b42dc;
  --color-primary-rgb: 43 66 220;
  --color-primary-hsl: 232 72% 52%;
}
Gradient
.gradient-2b42dc {
  background: linear-gradient(135deg, #2b42dc, #6c2bdc);
}
Colored shadow
.shadow-2b42dc {
  box-shadow: 0 8px 24px rgb(43 66 220 / 0.35);
}

Persian Blue
#2b42dc  rgb(43, 66, 220)  hsl(232, 72%, 52%)  Persian Blue
#dcc52b  rgb(220, 197, 43)  hsl(52, 72%, 52%)  Citrine
#dc2b42  rgb(220, 43, 66)  hsl(352, 72%, 52%)  Crimson
#42dc2b  rgb(66, 220, 43)  hsl(112, 72%, 52%)  Lime Green