#313DA4

#313da4 ≈ Egyptian Blue

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#313da4 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 19.22% red, 23.92% green and 64.31% blue; printed in CMYK it uses 70.12% cyan, 62.8% magenta, 0% yellow and 35.69% black. Its hue angle is 233.74°, with 53.99% saturation and 41.76% 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 9:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 3.24.

Description generated from the measured properties of this color.

Conversions of #313da4 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.0667

Readable text 9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #414578 ≈ 0.001% of males
Protanopia #004ea7 ≈ 1.01% of males
Deuteranopia #0044a2 ≈ 1.27% of males
Tritanopia #00576a ≈ 0.0001% of males
Protanomaly #0048a6 ≈ 1.08% of males
Deuteranomaly #0041a3 ≈ 4.63% of males
Tritanomaly #004e85 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-313da4 {
  color: #313da4;
}
Background
.bg-313da4 {
  background-color: #313da4;
  color: #ffffff;
}
Border
.border-313da4 {
  border: 2px solid #313da4;
}
CSS variables
:root {
  --color-primary: #313da4;
  --color-primary-rgb: 49 61 164;
  --color-primary-hsl: 234 54% 42%;
}
Gradient
.gradient-313da4 {
  background: linear-gradient(135deg, #313da4, #5e31a4);
}
Colored shadow
.shadow-313da4 {
  box-shadow: 0 8px 24px rgb(49 61 164 / 0.35);
}

Egyptian Blue
#313da4  rgb(49, 61, 164)  hsl(234, 54%, 42%)  Egyptian Blue
#a49831  rgb(164, 152, 49)  hsl(54, 54%, 42%)  Brass
#a4313d  rgb(164, 49, 61)  hsl(354, 54%, 42%)  Vivid Burgundy
#3da431  rgb(61, 164, 49)  hsl(114, 54%, 42%)  Islamic Green