#313AA4

#313aa4 ≈ Egyptian Blue

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

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

Description generated from the measured properties of this color.

Conversions of #313aa4 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.0636

Readable text 9.24:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.27:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #3f4278 ≈ 0.001% of males
Protanopia #004da7 ≈ 1.01% of males
Deuteranopia #0042a2 ≈ 1.27% of males
Tritanopia #005569 ≈ 0.0001% of males
Protanomaly #0046a6 ≈ 1.08% of males
Deuteranomaly #003fa3 ≈ 4.63% of males
Tritanomaly #004c85 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Egyptian Blue
#313aa4  rgb(49, 58, 164)  hsl(235, 54%, 42%)  Egyptian Blue
#a49b31  rgb(164, 155, 49)  hsl(55, 54%, 42%)  Brass
#a4313a  rgb(164, 49, 58)  hsl(355, 54%, 42%)  Vivid Burgundy
#3aa431  rgb(58, 164, 49)  hsl(115, 54%, 42%)  Islamic Green