#313998

#313998 ≈ Egyptian Blue

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

#313998 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 19.22% red, 22.35% green and 59.61% blue; printed in CMYK it uses 67.76% cyan, 62.5% magenta, 0% yellow and 40.39% black. Its hue angle is 235.34°, with 51.24% saturation and 39.41% 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.68:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 3.33.

Description generated from the measured properties of this color.

Conversions of #313998 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.0585

Readable text 9.68:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.17:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #444444 ≈ 0.003% of males
Achromatomaly #3d4070 ≈ 0.001% of males
Protanopia #00499b ≈ 1.01% of males
Deuteranopia #004096 ≈ 1.27% of males
Tritanopia #005163 ≈ 0.0001% of males
Protanomaly #08439a ≈ 1.08% of males
Deuteranomaly #003d97 ≈ 4.63% of males
Tritanomaly #00487c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-313998 {
  color: #313998;
}
Background
.bg-313998 {
  background-color: #313998;
  color: #ffffff;
}
Border
.border-313998 {
  border: 2px solid #313998;
}
CSS variables
:root {
  --color-primary: #313998;
  --color-primary-rgb: 49 57 152;
  --color-primary-hsl: 235 51% 39%;
}
Gradient
.gradient-313998 {
  background: linear-gradient(135deg, #313998, #5c3198);
}
Colored shadow
.shadow-313998 {
  box-shadow: 0 8px 24px rgb(49 57 152 / 0.35);
}

Egyptian Blue
#313998  rgb(49, 57, 152)  hsl(235, 51%, 39%)  Egyptian Blue
#989031  rgb(152, 144, 49)  hsl(55, 51%, 39%)  Olive
#983139  rgb(152, 49, 57)  hsl(355, 51%, 39%)  Vivid Burgundy
#399831  rgb(57, 152, 49)  hsl(115, 51%, 39%)  Islamic Green