#312DA2

#312da2 ≈ Egyptian Blue

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

#312da2 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 19.22% red, 17.65% green and 63.53% blue; printed in CMYK it uses 69.75% cyan, 72.22% magenta, 0% yellow and 36.47% black. Its hue angle is 242.05°, with 56.52% saturation and 40.59% 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 10.36:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 3.73.

Description generated from the measured properties of this color.

Conversions of #312da2 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.0514

Readable text 10.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.03:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #3b3974 ≈ 0.001% of males
Protanopia #0045a5 ≈ 1.01% of males
Deuteranopia #003ba0 ≈ 1.27% of males
Tritanopia #004e64 ≈ 0.0001% of males
Protanomaly #003da4 ≈ 1.08% of males
Deuteranomaly #0036a1 ≈ 4.63% of males
Tritanomaly #004382 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-312da2 {
  color: #312da2;
}
Background
.bg-312da2 {
  background-color: #312da2;
  color: #ffffff;
}
Border
.border-312da2 {
  border: 2px solid #312da2;
}
CSS variables
:root {
  --color-primary: #312da2;
  --color-primary-rgb: 49 45 162;
  --color-primary-hsl: 242 57% 41%;
}
Gradient
.gradient-312da2 {
  background: linear-gradient(135deg, #312da2, #6c2da2);
}
Colored shadow
.shadow-312da2 {
  box-shadow: 0 8px 24px rgb(49 45 162 / 0.35);
}

Egyptian Blue
#312da2  rgb(49, 45, 162)  hsl(242, 57%, 41%)  Egyptian Blue
#9ea22d  rgb(158, 162, 45)  hsl(62, 57%, 41%)  Brass
#a2312d  rgb(162, 49, 45)  hsl(2, 57%, 41%)  Brown
#2da231  rgb(45, 162, 49)  hsl(122, 57%, 41%)  Islamic Green