#312BAF

#312baf ≈ Egyptian Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#312baf is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 19.22% red, 16.86% green and 68.63% blue; printed in CMYK it uses 72% cyan, 75.43% magenta, 0% yellow and 31.37% black. Its hue angle is 242.73°, with 60.55% saturation and 42.75% 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.02:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 4.4.

Description generated from the measured properties of this color.

Conversions of #312baf 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.0548

Readable text 10.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.1:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #424242 ≈ 0.003% of males
Achromatomaly #3c3a7d ≈ 0.001% of males
Protanopia #0048b3 ≈ 1.01% of males
Deuteranopia #003cad ≈ 1.27% of males
Tritanopia #00526b ≈ 0.0001% of males
Protanomaly #003eb1 ≈ 1.08% of males
Deuteranomaly #0036ae ≈ 4.63% of males
Tritanomaly #00458b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-312baf {
  color: #312baf;
}
Background
.bg-312baf {
  background-color: #312baf;
  color: #ffffff;
}
Border
.border-312baf {
  border: 2px solid #312baf;
}
CSS variables
:root {
  --color-primary: #312baf;
  --color-primary-rgb: 49 43 175;
  --color-primary-hsl: 243 61% 43%;
}
Gradient
.gradient-312baf {
  background: linear-gradient(135deg, #312baf, #732baf);
}
Colored shadow
.shadow-312baf {
  box-shadow: 0 8px 24px rgb(49 43 175 / 0.35);
}

Egyptian Blue
#312baf  rgb(49, 43, 175)  hsl(243, 61%, 43%)  Egyptian Blue
#a9af2b  rgb(169, 175, 43)  hsl(63, 61%, 43%)  Brass
#af312b  rgb(175, 49, 43)  hsl(3, 61%, 43%)  Firebrick
#2baf31  rgb(43, 175, 49)  hsl(123, 61%, 43%)  Kelly Green