#2B31DB

#2b31db ≈ Persian Blue

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

#2b31db is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 16.86% red, 19.22% green and 85.88% blue; printed in CMYK it uses 80.37% cyan, 77.63% magenta, 0% yellow and 14.12% black. Its hue angle is 237.95°, with 70.97% saturation and 51.37% 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.19:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 4.93.

Description generated from the measured properties of this color.

Conversions of #2b31db 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.0782

Readable text 8.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #43459c ≈ 0.001% of males
Protanopia #0058e0 ≈ 1.01% of males
Deuteranopia #0046d8 ≈ 1.27% of males
Tritanopia #006586 ≈ 0.0001% of males
Protanomaly #004bde ≈ 1.08% of males
Deuteranomaly #003ed9 ≈ 4.63% of males
Tritanomaly #0055ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2b31db {
  color: #2b31db;
}
Background
.bg-2b31db {
  background-color: #2b31db;
  color: #ffffff;
}
Border
.border-2b31db {
  border: 2px solid #2b31db;
}
CSS variables
:root {
  --color-primary: #2b31db;
  --color-primary-rgb: 43 49 219;
  --color-primary-hsl: 238 71% 51%;
}
Gradient
.gradient-2b31db {
  background: linear-gradient(135deg, #2b31db, #7d2bdb);
}
Colored shadow
.shadow-2b31db {
  box-shadow: 0 8px 24px rgb(43 49 219 / 0.35);
}

Persian Blue
#2b31db  rgb(43, 49, 219)  hsl(238, 71%, 51%)  Persian Blue
#dbd52b  rgb(219, 213, 43)  hsl(58, 71%, 51%)  Citrine
#db2b31  rgb(219, 43, 49)  hsl(358, 71%, 51%)  Cadmium Red
#31db2b  rgb(49, 219, 43)  hsl(118, 71%, 51%)  Lime Green