#0442BA

#0442ba ≈ Cobalt Blue

  • azure
  • Lightness: low
  • Saturation: strong
  • Cool

#0442ba is a color from the azure family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 25.88% green and 72.94% blue; printed in CMYK it uses 97.85% cyan, 64.52% magenta, 0% yellow and 27.06% black. Its hue angle is 219.56°, with 95.79% saturation and 37.25% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 8.42:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 3.2.

Description generated from the measured properties of this color.

Conversions of #0442ba into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0033cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0747

Readable text 8.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #3c4987 ≈ 0.001% of males
Protanopia #0055be ≈ 1.01% of males
Deuteranopia #0045b8 ≈ 1.27% of males
Tritanopia #006278 ≈ 0.0001% of males
Protanomaly #004ebc ≈ 1.08% of males
Deuteranomaly #0044b9 ≈ 4.63% of males
Tritanomaly #005797 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0442ba {
  color: #0442ba;
}
Background
.bg-0442ba {
  background-color: #0442ba;
  color: #ffffff;
}
Border
.border-0442ba {
  border: 2px solid #0442ba;
}
CSS variables
:root {
  --color-primary: #0442ba;
  --color-primary-rgb: 4 66 186;
  --color-primary-hsl: 220 96% 37%;
}
Gradient
.gradient-0442ba {
  background: linear-gradient(135deg, #0442ba, #2104ba);
}
Colored shadow
.shadow-0442ba {
  box-shadow: 0 8px 24px rgb(4 66 186 / 0.35);
}

Cobalt Blue
#0442ba  rgb(4, 66, 186)  hsl(220, 96%, 37%)  Cobalt Blue
#ba7c04  rgb(186, 124, 4)  hsl(40, 96%, 37%)  Dark Goldenrod
#ba0442  rgb(186, 4, 66)  hsl(340, 96%, 37%)  Vivid Burgundy
#42ba04  rgb(66, 186, 4)  hsl(100, 96%, 37%)  Kelly Green