#313161

#313161 ≈ Dark Slate Blue

  • blue
  • Lightness: low
  • Saturation: muted
  • Cool

#313161 is a color from the blue family, with low lightness and muted saturation. In the RGB model it is made of 19.22% red, 19.22% green and 38.04% blue; printed in CMYK it uses 49.48% cyan, 49.48% magenta, 0% yellow and 61.96% black. Its hue angle is 240°, with 32.88% saturation and 28.63% 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 luxury branding. White text on this color reaches a contrast ratio of 12.05:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 8.33.

Description generated from the measured properties of this color.

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

Readable text 12.05:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #363636 ≈ 0.003% of males
Achromatomaly #34344b ≈ 0.001% of males
Protanopia #1d3863 ≈ 1.01% of males
Deuteranopia #1a3460 ≈ 1.27% of males
Tritanopia #213b44 ≈ 0.0001% of males
Protanomaly #263562 ≈ 1.08% of males
Deuteranomaly #253360 ≈ 4.63% of males
Tritanomaly #283751 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Slate Blue
#313161  rgb(49, 49, 97)  hsl(240, 33%, 29%)  Dark Slate Blue
#616131  rgb(97, 97, 49)  hsl(60, 33%, 29%)  Army Green
#613131  rgb(97, 49, 49)  hsl(0, 33%, 29%)  Caput Mortuum
#316131  rgb(49, 97, 49)  hsl(120, 33%, 29%)  Hunter Green