#2A4FA4

#2a4fa4 ≈ Cobalt Blue

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

#2a4fa4 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 16.47% red, 30.98% green and 64.31% blue; printed in CMYK it uses 74.39% cyan, 51.83% magenta, 0% yellow and 35.69% black. Its hue angle is 221.8°, with 59.22% 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.63: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 #2a4fa4 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.0876

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

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #46527c ≈ 0.001% of males
Protanopia #1959a7 ≈ 1.01% of males
Deuteranopia #004ea2 ≈ 1.27% of males
Tritanopia #006372 ≈ 0.0001% of males
Protanomaly #2155a6 ≈ 1.08% of males
Deuteranomaly #0d4fa3 ≈ 4.63% of males
Tritanomaly #005c89 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a4fa4 {
  color: #2a4fa4;
}
Background
.bg-2a4fa4 {
  background-color: #2a4fa4;
  color: #ffffff;
}
Border
.border-2a4fa4 {
  border: 2px solid #2a4fa4;
}
CSS variables
:root {
  --color-primary: #2a4fa4;
  --color-primary-rgb: 42 79 164;
  --color-primary-hsl: 222 59% 40%;
}
Gradient
.gradient-2a4fa4 {
  background: linear-gradient(135deg, #2a4fa4, #422aa4);
}
Colored shadow
.shadow-2a4fa4 {
  box-shadow: 0 8px 24px rgb(42 79 164 / 0.35);
}

Cobalt Blue
#2a4fa4  rgb(42, 79, 164)  hsl(222, 59%, 40%)  Cobalt Blue
#a47f2a  rgb(164, 127, 42)  hsl(42, 59%, 40%)  Dark Goldenrod
#a42a4f  rgb(164, 42, 79)  hsl(342, 59%, 40%)  Jazzberry Jam
#4fa42a  rgb(79, 164, 42)  hsl(102, 59%, 40%)  Kelly Green