#2B4EA7

#2b4ea7 ≈ Cobalt Blue

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

#2b4ea7 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 16.86% red, 30.59% green and 65.49% blue; printed in CMYK it uses 74.25% cyan, 53.29% magenta, 0% yellow and 34.51% black. Its hue angle is 223.06°, with 59.05% saturation and 41.18% 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.64:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 2.86.

Description generated from the measured properties of this color.

Conversions of #2b4ea7 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.0875

Readable text 7.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #47517e ≈ 0.001% of males
Protanopia #0f59aa ≈ 1.01% of males
Deuteranopia #004ea5 ≈ 1.27% of males
Tritanopia #006373 ≈ 0.0001% of males
Protanomaly #1d55a9 ≈ 1.08% of males
Deuteranomaly #054ea6 ≈ 4.63% of males
Tritanomaly #005c8b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2b4ea7 {
  color: #2b4ea7;
}
Background
.bg-2b4ea7 {
  background-color: #2b4ea7;
  color: #ffffff;
}
Border
.border-2b4ea7 {
  border: 2px solid #2b4ea7;
}
CSS variables
:root {
  --color-primary: #2b4ea7;
  --color-primary-rgb: 43 78 167;
  --color-primary-hsl: 223 59% 41%;
}
Gradient
.gradient-2b4ea7 {
  background: linear-gradient(135deg, #2b4ea7, #462ba7);
}
Colored shadow
.shadow-2b4ea7 {
  box-shadow: 0 8px 24px rgb(43 78 167 / 0.35);
}

Cobalt Blue
#2b4ea7  rgb(43, 78, 167)  hsl(223, 59%, 41%)  Cobalt Blue
#a7842b  rgb(167, 132, 43)  hsl(43, 59%, 41%)  Dark Goldenrod
#a72b4e  rgb(167, 43, 78)  hsl(343, 59%, 41%)  Vivid Burgundy
#4ea72b  rgb(78, 167, 43)  hsl(103, 59%, 41%)  Kelly Green