#2A31BC

#2a31bc ≈ Persian Blue

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

#2a31bc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 16.47% red, 19.22% green and 73.73% blue; printed in CMYK it uses 77.66% cyan, 73.94% magenta, 0% yellow and 26.27% black. Its hue angle is 237.12°, with 63.48% saturation and 45.1% 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 9.28:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 2.57.

Description generated from the measured properties of this color.

Conversions of #2a31bc 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.0632

Readable text 9.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.26:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #3d3f86 ≈ 0.001% of males
Protanopia #004ec0 ≈ 1.01% of males
Deuteranopia #0040ba ≈ 1.27% of males
Tritanopia #005974 ≈ 0.0001% of males
Protanomaly #0044be ≈ 1.08% of males
Deuteranomaly #003abb ≈ 4.63% of males
Tritanomaly #004c96 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a31bc {
  color: #2a31bc;
}
Background
.bg-2a31bc {
  background-color: #2a31bc;
  color: #ffffff;
}
Border
.border-2a31bc {
  border: 2px solid #2a31bc;
}
CSS variables
:root {
  --color-primary: #2a31bc;
  --color-primary-rgb: 42 49 188;
  --color-primary-hsl: 237 63% 45%;
}
Gradient
.gradient-2a31bc {
  background: linear-gradient(135deg, #2a31bc, #6c2abc);
}
Colored shadow
.shadow-2a31bc {
  box-shadow: 0 8px 24px rgb(42 49 188 / 0.35);
}

Persian Blue
#2a31bc  rgb(42, 49, 188)  hsl(237, 63%, 45%)  Persian Blue
#bcb52a  rgb(188, 181, 42)  hsl(57, 63%, 45%)  Old Gold
#bc2a31  rgb(188, 42, 49)  hsl(357, 63%, 45%)  Cardinal
#31bc2a  rgb(49, 188, 42)  hsl(117, 63%, 45%)  Kelly Green