#313C7D

#313c7d ≈ Dark Slate Blue

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

#313c7d is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 19.22% red, 23.53% green and 49.02% blue; printed in CMYK it uses 60.8% cyan, 52% magenta, 0% yellow and 50.98% black. Its hue angle is 231.32°, with 43.68% saturation and 34.12% 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 corporate identities. White text on this color reaches a contrast ratio of 10.13:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 5.14.

Description generated from the measured properties of this color.

Conversions of #313c7d 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.0537

Readable text 10.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.07:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #3c3f5f ≈ 0.001% of males
Protanopia #1a457f ≈ 1.01% of males
Deuteranopia #0b3e7c ≈ 1.27% of males
Tritanopia #004b56 ≈ 0.0001% of males
Protanomaly #25427e ≈ 1.08% of males
Deuteranomaly #203d7c ≈ 4.63% of males
Tritanomaly #1c4568 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-313c7d {
  color: #313c7d;
}
Background
.bg-313c7d {
  background-color: #313c7d;
  color: #ffffff;
}
Border
.border-313c7d {
  border: 2px solid #313c7d;
}
CSS variables
:root {
  --color-primary: #313c7d;
  --color-primary-rgb: 49 60 125;
  --color-primary-hsl: 231 44% 34%;
}
Gradient
.gradient-313c7d {
  background: linear-gradient(135deg, #313c7d, #4c317d);
}
Colored shadow
.shadow-313c7d {
  box-shadow: 0 8px 24px rgb(49 60 125 / 0.35);
}

Dark Slate Blue
#313c7d  rgb(49, 60, 125)  hsl(231, 44%, 34%)  Dark Slate Blue
#7d7231  rgb(125, 114, 49)  hsl(51, 44%, 34%)  Olive
#7d313c  rgb(125, 49, 60)  hsl(351, 44%, 34%)  Wine
#3c7d31  rgb(60, 125, 49)  hsl(111, 44%, 34%)  Sap Green