#2945A7

#2945a7 ≈ Cobalt Blue

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#2945a7 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 16.08% red, 27.06% green and 65.49% blue; printed in CMYK it uses 75.45% cyan, 58.68% magenta, 0% yellow and 34.51% black. Its hue angle is 226.67°, with 60.58% saturation and 40.78% 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 8.39:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 2.83.

Description generated from the measured properties of this color.

Conversions of #2945a7 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.0752

Readable text 8.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #424a7b ≈ 0.001% of males
Protanopia #0054aa ≈ 1.01% of males
Deuteranopia #0048a5 ≈ 1.27% of males
Tritanopia #005d6f ≈ 0.0001% of males
Protanomaly #034ea9 ≈ 1.08% of males
Deuteranomaly #0047a6 ≈ 4.63% of males
Tritanomaly #005589 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2945a7 {
  color: #2945a7;
}
Background
.bg-2945a7 {
  background-color: #2945a7;
  color: #ffffff;
}
Border
.border-2945a7 {
  border: 2px solid #2945a7;
}
CSS variables
:root {
  --color-primary: #2945a7;
  --color-primary-rgb: 41 69 167;
  --color-primary-hsl: 227 61% 41%;
}
Gradient
.gradient-2945a7 {
  background: linear-gradient(135deg, #2945a7, #4c29a7);
}
Colored shadow
.shadow-2945a7 {
  box-shadow: 0 8px 24px rgb(41 69 167 / 0.35);
}

Cobalt Blue
#2945a7  rgb(41, 69, 167)  hsl(227, 61%, 41%)  Cobalt Blue
#a78b29  rgb(167, 139, 41)  hsl(47, 61%, 41%)  Dark Goldenrod
#a72945  rgb(167, 41, 69)  hsl(347, 61%, 41%)  Vivid Burgundy
#45a729  rgb(69, 167, 41)  hsl(107, 61%, 41%)  Kelly Green