#331FDB

#331fdb ≈ Blue

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

#331fdb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 12.16% green and 85.88% blue; printed in CMYK it uses 76.71% cyan, 85.84% magenta, 0% yellow and 14.12% black. Its hue angle is 246.38°, with 75.2% saturation and 49.02% 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.9:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.74.

Description generated from the measured properties of this color.

Conversions of #331fdb 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.068

Readable text 8.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4a4a4a ≈ 0.003% of males
Achromatomaly #423d9a ≈ 0.001% of males
Protanopia #0052e0 ≈ 1.01% of males
Deuteranopia #0041d8 ≈ 1.27% of males
Tritanopia #005f82 ≈ 0.0001% of males
Protanomaly #0043de ≈ 1.08% of males
Deuteranomaly #0036d9 ≈ 4.63% of males
Tritanomaly #004dad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331fdb {
  color: #331fdb;
}
Background
.bg-331fdb {
  background-color: #331fdb;
  color: #ffffff;
}
Border
.border-331fdb {
  border: 2px solid #331fdb;
}
CSS variables
:root {
  --color-primary: #331fdb;
  --color-primary-rgb: 51 31 219;
  --color-primary-hsl: 246 75% 49%;
}
Gradient
.gradient-331fdb {
  background: linear-gradient(135deg, #331fdb, #911fdb);
}
Colored shadow
.shadow-331fdb {
  box-shadow: 0 8px 24px rgb(51 31 219 / 0.35);
}

Blue
#331fdb  rgb(51, 31, 219)  hsl(246, 75%, 49%)  Blue
#c7db1f  rgb(199, 219, 31)  hsl(66, 75%, 49%)  Pear
#db331f  rgb(219, 51, 31)  hsl(6, 75%, 49%)  Lust
#1fdb33  rgb(31, 219, 51)  hsl(126, 75%, 49%)  Malachite