#31318E

#31318e ≈ Smalt

  • blue
  • Lightness: low
  • Saturation: moderate
  • Cool

#31318e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 19.22% red, 19.22% green and 55.69% blue; printed in CMYK it uses 65.49% cyan, 65.49% magenta, 0% yellow and 44.31% black. Its hue angle is 240°, with 48.69% saturation and 37.45% 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 10.71:1 (WCAG AAA). The closest named color is Smalt (#003399), ΔE 4.32.

Description generated from the measured properties of this color.

Conversions of #31318e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.048

Readable text 10.71:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #393967 ≈ 0.001% of males
Protanopia #004291 ≈ 1.01% of males
Deuteranopia #003a8c ≈ 1.27% of males
Tritanopia #00495b ≈ 0.0001% of males
Protanomaly #043c90 ≈ 1.08% of males
Deuteranomaly #00368d ≈ 4.63% of males
Tritanomaly #104073 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-31318e {
  color: #31318e;
}
Background
.bg-31318e {
  background-color: #31318e;
  color: #ffffff;
}
Border
.border-31318e {
  border: 2px solid #31318e;
}
CSS variables
:root {
  --color-primary: #31318e;
  --color-primary-rgb: 49 49 142;
  --color-primary-hsl: 240 49% 37%;
}
Gradient
.gradient-31318e {
  background: linear-gradient(135deg, #31318e, #5f318e);
}
Colored shadow
.shadow-31318e {
  box-shadow: 0 8px 24px rgb(49 49 142 / 0.35);
}

Smalt
#31318e  rgb(49, 49, 142)  hsl(240, 49%, 37%)  Smalt
#8e8e31  rgb(142, 142, 49)  hsl(60, 49%, 37%)  Olive
#8e3131  rgb(142, 49, 49)  hsl(0, 49%, 37%)  Burnt Umber
#318e31  rgb(49, 142, 49)  hsl(120, 49%, 37%)  Forest Green