#2C4EA2

#2c4ea2 ≈ Cobalt Blue

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

#2c4ea2 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 17.25% red, 30.59% green and 63.53% blue; printed in CMYK it uses 72.84% cyan, 51.85% magenta, 0% yellow and 36.47% black. Its hue angle is 222.71°, with 57.28% saturation and 40.39% 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 7.72:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 3.06.

Description generated from the measured properties of this color.

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

Readable text 7.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #46517a ≈ 0.001% of males
Protanopia #1958a5 ≈ 1.01% of males
Deuteranopia #004ea0 ≈ 1.27% of males
Tritanopia #006270 ≈ 0.0001% of males
Protanomaly #2254a4 ≈ 1.08% of males
Deuteranomaly #114ea1 ≈ 4.63% of males
Tritanomaly #005b87 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c4ea2 {
  color: #2c4ea2;
}
Background
.bg-2c4ea2 {
  background-color: #2c4ea2;
  color: #ffffff;
}
Border
.border-2c4ea2 {
  border: 2px solid #2c4ea2;
}
CSS variables
:root {
  --color-primary: #2c4ea2;
  --color-primary-rgb: 44 78 162;
  --color-primary-hsl: 223 57% 40%;
}
Gradient
.gradient-2c4ea2 {
  background: linear-gradient(135deg, #2c4ea2, #452ca2);
}
Colored shadow
.shadow-2c4ea2 {
  box-shadow: 0 8px 24px rgb(44 78 162 / 0.35);
}

Cobalt Blue
#2c4ea2  rgb(44, 78, 162)  hsl(223, 57%, 40%)  Cobalt Blue
#a2802c  rgb(162, 128, 44)  hsl(43, 57%, 40%)  Dark Goldenrod
#a22c4e  rgb(162, 44, 78)  hsl(343, 57%, 40%)  Vivid Burgundy
#4ea22c  rgb(78, 162, 44)  hsl(103, 57%, 40%)  Kelly Green