#1F2AAA

#1f2aaa ≈ Egyptian Blue

  • blue
  • Lightness: low
  • Saturation: strong
  • Cool

#1f2aaa is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 12.16% red, 16.47% green and 66.67% blue; printed in CMYK it uses 81.76% cyan, 75.29% magenta, 0% yellow and 33.33% black. Its hue angle is 235.25°, with 69.15% 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 10.66: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 #1f2aaa 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.0485

Readable text 10.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #343779 ≈ 0.001% of males
Protanopia #0045ae ≈ 1.01% of males
Deuteranopia #0037a8 ≈ 1.27% of males
Tritanopia #005068 ≈ 0.0001% of males
Protanomaly #003cac ≈ 1.08% of males
Deuteranomaly #0032a9 ≈ 4.63% of males
Tritanomaly #004487 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1f2aaa {
  color: #1f2aaa;
}
Background
.bg-1f2aaa {
  background-color: #1f2aaa;
  color: #ffffff;
}
Border
.border-1f2aaa {
  border: 2px solid #1f2aaa;
}
CSS variables
:root {
  --color-primary: #1f2aaa;
  --color-primary-rgb: 31 42 170;
  --color-primary-hsl: 235 69% 39%;
}
Gradient
.gradient-1f2aaa {
  background: linear-gradient(135deg, #1f2aaa, #591faa);
}
Colored shadow
.shadow-1f2aaa {
  box-shadow: 0 8px 24px rgb(31 42 170 / 0.35);
}

Egyptian Blue
#1f2aaa  rgb(31, 42, 170)  hsl(235, 69%, 39%)  Egyptian Blue
#aa9f1f  rgb(170, 159, 31)  hsl(55, 69%, 39%)  Brass
#aa1f2a  rgb(170, 31, 42)  hsl(355, 69%, 39%)  Brown
#2aaa1f  rgb(42, 170, 31)  hsl(115, 69%, 39%)  Kelly Green