#2A397E

#2a397e ≈ Smalt

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

#2a397e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 16.47% red, 22.35% green and 49.41% blue; printed in CMYK it uses 66.67% cyan, 54.76% magenta, 0% yellow and 50.59% black. Its hue angle is 229.29°, with 50% saturation and 32.94% 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 corporate identities. White text on this color reaches a contrast ratio of 10.58:1 (WCAG AAA). The closest named color is Smalt (#003399), ΔE 5.31.

Description generated from the measured properties of this color.

Conversions of #2a397e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333366
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0492

Readable text 10.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.98:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3f3f3f ≈ 0.003% of males
Achromatomaly #373c5e ≈ 0.001% of males
Protanopia #0d4380 ≈ 1.01% of males
Deuteranopia #003b7d ≈ 1.27% of males
Tritanopia #004955 ≈ 0.0001% of males
Protanomaly #1c3f7f ≈ 1.08% of males
Deuteranomaly #143a7d ≈ 4.63% of males
Tritanomaly #084368 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a397e {
  color: #2a397e;
}
Background
.bg-2a397e {
  background-color: #2a397e;
  color: #ffffff;
}
Border
.border-2a397e {
  border: 2px solid #2a397e;
}
CSS variables
:root {
  --color-primary: #2a397e;
  --color-primary-rgb: 42 57 126;
  --color-primary-hsl: 229 50% 33%;
}
Gradient
.gradient-2a397e {
  background: linear-gradient(135deg, #2a397e, #452a7e);
}
Colored shadow
.shadow-2a397e {
  box-shadow: 0 8px 24px rgb(42 57 126 / 0.35);
}

Smalt
#2a397e  rgb(42, 57, 126)  hsl(229, 50%, 33%)  Smalt
#7e6f2a  rgb(126, 111, 42)  hsl(49, 50%, 33%)  Olive
#7e2a39  rgb(126, 42, 57)  hsl(349, 50%, 33%)  Wine
#397e2a  rgb(57, 126, 42)  hsl(109, 50%, 33%)  Sap Green