#1F2FA6

#1f2fa6 ≈ Egyptian Blue

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

#1f2fa6 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 12.16% red, 18.43% green and 65.1% blue; printed in CMYK it uses 81.33% cyan, 71.69% magenta, 0% yellow and 34.9% black. Its hue angle is 232.89°, with 68.53% saturation and 38.63% 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.42:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 1.97.

Description generated from the measured properties of this color.

Conversions of #1f2fa6 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.0508

Readable text 10.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.02:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #353a77 ≈ 0.001% of males
Protanopia #0046aa ≈ 1.01% of males
Deuteranopia #0039a4 ≈ 1.27% of males
Tritanopia #005167 ≈ 0.0001% of males
Protanomaly #003ea8 ≈ 1.08% of males
Deuteranomaly #0035a5 ≈ 4.63% of males
Tritanomaly #004585 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1f2fa6 {
  color: #1f2fa6;
}
Background
.bg-1f2fa6 {
  background-color: #1f2fa6;
  color: #ffffff;
}
Border
.border-1f2fa6 {
  border: 2px solid #1f2fa6;
}
CSS variables
:root {
  --color-primary: #1f2fa6;
  --color-primary-rgb: 31 47 166;
  --color-primary-hsl: 233 69% 39%;
}
Gradient
.gradient-1f2fa6 {
  background: linear-gradient(135deg, #1f2fa6, #531fa6);
}
Colored shadow
.shadow-1f2fa6 {
  box-shadow: 0 8px 24px rgb(31 47 166 / 0.35);
}

Egyptian Blue
#1f2fa6  rgb(31, 47, 166)  hsl(233, 69%, 39%)  Egyptian Blue
#a6961f  rgb(166, 150, 31)  hsl(53, 69%, 39%)  Brass
#a61f2f  rgb(166, 31, 47)  hsl(353, 69%, 39%)  Vivid Burgundy
#2fa61f  rgb(47, 166, 31)  hsl(113, 69%, 39%)  Kelly Green