#2D2D97

#2d2d97 ≈ Imperial Blue

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

#2d2d97 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 17.65% red, 17.65% green and 59.22% blue; printed in CMYK it uses 70.2% cyan, 70.2% magenta, 0% yellow and 40.78% black. Its hue angle is 240°, with 54.08% saturation and 38.43% 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.86:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 3.6.

Description generated from the measured properties of this color.

Conversions of #2d2d97 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.0467

Readable text 10.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.93:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3d3d3d ≈ 0.003% of males
Achromatomaly #37376d ≈ 0.001% of males
Protanopia #00429a ≈ 1.01% of males
Deuteranopia #003895 ≈ 1.27% of males
Tritanopia #004a5e ≈ 0.0001% of males
Protanomaly #003b99 ≈ 1.08% of males
Deuteranomaly #003496 ≈ 4.63% of males
Tritanomaly #004079 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d2d97 {
  color: #2d2d97;
}
Background
.bg-2d2d97 {
  background-color: #2d2d97;
  color: #ffffff;
}
Border
.border-2d2d97 {
  border: 2px solid #2d2d97;
}
CSS variables
:root {
  --color-primary: #2d2d97;
  --color-primary-rgb: 45 45 151;
  --color-primary-hsl: 240 54% 38%;
}
Gradient
.gradient-2d2d97 {
  background: linear-gradient(135deg, #2d2d97, #622d97);
}
Colored shadow
.shadow-2d2d97 {
  box-shadow: 0 8px 24px rgb(45 45 151 / 0.35);
}

Imperial Blue
#2d2d97  rgb(45, 45, 151)  hsl(240, 54%, 38%)  Imperial Blue
#97972d  rgb(151, 151, 45)  hsl(60, 54%, 38%)  Brass
#972d2d  rgb(151, 45, 45)  hsl(0, 54%, 38%)  Brown
#2d972d  rgb(45, 151, 45)  hsl(120, 54%, 38%)  Islamic Green