#2D4EA7

#2d4ea7 ≈ Cobalt Blue

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

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

Description generated from the measured properties of this color.

Conversions of #2d4ea7 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.088

Readable text 7.61:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #47517e ≈ 0.001% of males
Protanopia #105aaa ≈ 1.01% of males
Deuteranopia #004ea5 ≈ 1.27% of males
Tritanopia #006373 ≈ 0.0001% of males
Protanomaly #1f55a9 ≈ 1.08% of males
Deuteranomaly #094ea6 ≈ 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-2d4ea7 {
  color: #2d4ea7;
}
Background
.bg-2d4ea7 {
  background-color: #2d4ea7;
  color: #ffffff;
}
Border
.border-2d4ea7 {
  border: 2px solid #2d4ea7;
}
CSS variables
:root {
  --color-primary: #2d4ea7;
  --color-primary-rgb: 45 78 167;
  --color-primary-hsl: 224 58% 42%;
}
Gradient
.gradient-2d4ea7 {
  background: linear-gradient(135deg, #2d4ea7, #492da7);
}
Colored shadow
.shadow-2d4ea7 {
  box-shadow: 0 8px 24px rgb(45 78 167 / 0.35);
}

Cobalt Blue
#2d4ea7  rgb(45, 78, 167)  hsl(224, 58%, 42%)  Cobalt Blue
#a7862d  rgb(167, 134, 45)  hsl(44, 58%, 42%)  Dark Goldenrod
#a72d4e  rgb(167, 45, 78)  hsl(344, 58%, 42%)  Vivid Burgundy
#4ea72d  rgb(78, 167, 45)  hsl(104, 58%, 42%)  Kelly Green