#2C31BB

#2c31bb ≈ Persian Blue

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

#2c31bb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 17.25% red, 19.22% green and 73.33% blue; printed in CMYK it uses 76.47% cyan, 73.8% magenta, 0% yellow and 26.67% black. Its hue angle is 237.9°, with 61.9% saturation and 45.29% 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.65.

Description generated from the measured properties of this color.

Conversions of #2c31bb 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 #3e3f86 ≈ 0.001% of males
Protanopia #004ebf ≈ 1.01% of males
Deuteranopia #0040b9 ≈ 1.27% of males
Tritanopia #005973 ≈ 0.0001% of males
Protanomaly #0044bd ≈ 1.08% of males
Deuteranomaly #003bba ≈ 4.63% of males
Tritanomaly #004c95 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c31bb {
  color: #2c31bb;
}
Background
.bg-2c31bb {
  background-color: #2c31bb;
  color: #ffffff;
}
Border
.border-2c31bb {
  border: 2px solid #2c31bb;
}
CSS variables
:root {
  --color-primary: #2c31bb;
  --color-primary-rgb: 44 49 187;
  --color-primary-hsl: 238 62% 45%;
}
Gradient
.gradient-2c31bb {
  background: linear-gradient(135deg, #2c31bb, #6e2cbb);
}
Colored shadow
.shadow-2c31bb {
  box-shadow: 0 8px 24px rgb(44 49 187 / 0.35);
}

Persian Blue
#2c31bb  rgb(44, 49, 187)  hsl(238, 62%, 45%)  Persian Blue
#bbb62c  rgb(187, 182, 44)  hsl(58, 62%, 45%)  Old Gold
#bb2c31  rgb(187, 44, 49)  hsl(358, 62%, 45%)  Firebrick
#31bb2c  rgb(49, 187, 44)  hsl(118, 62%, 45%)  Kelly Green