#2C4FA0

#2c4fa0 ≈ Cobalt Blue

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

#2c4fa0 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.98% green and 62.75% blue; printed in CMYK it uses 72.5% cyan, 50.63% magenta, 0% yellow and 37.25% black. Its hue angle is 221.9°, with 56.86% saturation and 40% 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.68:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 3.34.

Description generated from the measured properties of this color.

Conversions of #2c4fa0 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.0867

Readable text 7.68:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #465179 ≈ 0.001% of males
Protanopia #2059a3 ≈ 1.01% of males
Deuteranopia #004e9e ≈ 1.27% of males
Tritanopia #006270 ≈ 0.0001% of males
Protanomaly #2555a2 ≈ 1.08% of males
Deuteranomaly #164e9f ≈ 4.63% of males
Tritanomaly #005b86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c4fa0 {
  color: #2c4fa0;
}
Background
.bg-2c4fa0 {
  background-color: #2c4fa0;
  color: #ffffff;
}
Border
.border-2c4fa0 {
  border: 2px solid #2c4fa0;
}
CSS variables
:root {
  --color-primary: #2c4fa0;
  --color-primary-rgb: 44 79 160;
  --color-primary-hsl: 222 57% 40%;
}
Gradient
.gradient-2c4fa0 {
  background: linear-gradient(135deg, #2c4fa0, #432ca0);
}
Colored shadow
.shadow-2c4fa0 {
  box-shadow: 0 8px 24px rgb(44 79 160 / 0.35);
}

Cobalt Blue
#2c4fa0  rgb(44, 79, 160)  hsl(222, 57%, 40%)  Cobalt Blue
#a07d2c  rgb(160, 125, 44)  hsl(42, 57%, 40%)  Dark Goldenrod
#a02c4f  rgb(160, 44, 79)  hsl(342, 57%, 40%)  Jazzberry Jam
#4fa02c  rgb(79, 160, 44)  hsl(102, 57%, 40%)  Islamic Green