#2D2D98

#2d2d98 ≈ Imperial Blue

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

#2d2d98 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.61% blue; printed in CMYK it uses 70.39% cyan, 70.39% magenta, 0% yellow and 40.39% black. Its hue angle is 240°, with 54.31% 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.82:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 3.61.

Description generated from the measured properties of this color.

Conversions of #2d2d98 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.047

Readable text 10.82:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3d3d3d ≈ 0.003% of males
Achromatomaly #37376d ≈ 0.001% of males
Protanopia #00429b ≈ 1.01% of males
Deuteranopia #003896 ≈ 1.27% of males
Tritanopia #004a5f ≈ 0.0001% of males
Protanomaly #003b9a ≈ 1.08% of males
Deuteranomaly #003497 ≈ 4.63% of males
Tritanomaly #00407a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Imperial Blue
#2d2d98  rgb(45, 45, 152)  hsl(240, 54%, 39%)  Imperial Blue
#98982d  rgb(152, 152, 45)  hsl(60, 54%, 39%)  Brass
#982d2d  rgb(152, 45, 45)  hsl(0, 54%, 39%)  Brown
#2d982d  rgb(45, 152, 45)  hsl(120, 54%, 39%)  Islamic Green