#2E1D98

#2e1d98 ≈ Zaffre

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

#2e1d98 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 18.04% red, 11.37% green and 59.61% blue; printed in CMYK it uses 69.74% cyan, 80.92% magenta, 0% yellow and 40.39% black. Its hue angle is 248.29°, with 67.96% saturation and 35.49% 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 12.03:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.33.

Description generated from the measured properties of this color.

Conversions of #2e1d98 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.0373

Readable text 12.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #363636 ≈ 0.003% of males
Achromatomaly #332e6b ≈ 0.001% of males
Protanopia #003b9b ≈ 1.01% of males
Deuteranopia #003196 ≈ 1.27% of males
Tritanopia #00435b ≈ 0.0001% of males
Protanomaly #00319a ≈ 1.08% of males
Deuteranomaly #002a97 ≈ 4.63% of males
Tritanomaly #003778 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2e1d98 {
  color: #2e1d98;
}
Background
.bg-2e1d98 {
  background-color: #2e1d98;
  color: #ffffff;
}
Border
.border-2e1d98 {
  border: 2px solid #2e1d98;
}
CSS variables
:root {
  --color-primary: #2e1d98;
  --color-primary-rgb: 46 29 152;
  --color-primary-hsl: 248 68% 35%;
}
Gradient
.gradient-2e1d98 {
  background: linear-gradient(135deg, #2e1d98, #6b1d98);
}
Colored shadow
.shadow-2e1d98 {
  box-shadow: 0 8px 24px rgb(46 29 152 / 0.35);
}

Zaffre
#2e1d98  rgb(46, 29, 152)  hsl(248, 68%, 35%)  Zaffre
#87981d  rgb(135, 152, 29)  hsl(68, 68%, 35%)  Olive Drab
#982e1d  rgb(152, 46, 29)  hsl(8, 68%, 35%)  Burnt Umber
#1d982e  rgb(29, 152, 46)  hsl(128, 68%, 35%)  Islamic Green