#2E31DC

#2e31dc ≈ Persian Blue

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

#2e31dc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.04% red, 19.22% green and 86.27% blue; printed in CMYK it uses 79.09% cyan, 77.73% magenta, 0% yellow and 13.73% black. Its hue angle is 238.97°, with 71.31% saturation and 52.16% 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 8.11:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 5.14.

Description generated from the measured properties of this color.

Conversions of #2e31dc 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.0794

Readable text 8.11:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.59:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #44459c ≈ 0.001% of males
Protanopia #0058e1 ≈ 1.01% of males
Deuteranopia #0047d9 ≈ 1.27% of males
Tritanopia #006686 ≈ 0.0001% of males
Protanomaly #004bdf ≈ 1.08% of males
Deuteranomaly #003fda ≈ 4.63% of males
Tritanomaly #0055af ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2e31dc {
  color: #2e31dc;
}
Background
.bg-2e31dc {
  background-color: #2e31dc;
  color: #ffffff;
}
Border
.border-2e31dc {
  border: 2px solid #2e31dc;
}
CSS variables
:root {
  --color-primary: #2e31dc;
  --color-primary-rgb: 46 49 220;
  --color-primary-hsl: 239 71% 52%;
}
Gradient
.gradient-2e31dc {
  background: linear-gradient(135deg, #2e31dc, #822edc);
}
Colored shadow
.shadow-2e31dc {
  box-shadow: 0 8px 24px rgb(46 49 220 / 0.35);
}

Persian Blue
#2e31dc  rgb(46, 49, 220)  hsl(239, 71%, 52%)  Persian Blue
#dcd92e  rgb(220, 217, 46)  hsl(59, 71%, 52%)  Dandelion
#dc2e31  rgb(220, 46, 49)  hsl(359, 71%, 52%)  Cadmium Red
#31dc2e  rgb(49, 220, 46)  hsl(119, 71%, 52%)  Lime Green