#2145A2

#2145a2 ≈ Cobalt Blue

  • blue
  • Lightness: low
  • Saturation: strong
  • Cool

#2145a2 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 12.94% red, 27.06% green and 63.53% blue; printed in CMYK it uses 79.63% cyan, 57.41% magenta, 0% yellow and 36.47% black. Its hue angle is 223.26°, with 66.15% saturation and 38.24% 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 8.61:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 2.07.

Description generated from the measured properties of this color.

Conversions of #2145a2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0719

Readable text 8.61:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.44:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #3f4978 ≈ 0.001% of males
Protanopia #0052a5 ≈ 1.01% of males
Deuteranopia #0046a0 ≈ 1.27% of males
Tritanopia #005c6c ≈ 0.0001% of males
Protanomaly #024da4 ≈ 1.08% of males
Deuteranomaly #0046a1 ≈ 4.63% of males
Tritanomaly #005485 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2145a2 {
  color: #2145a2;
}
Background
.bg-2145a2 {
  background-color: #2145a2;
  color: #ffffff;
}
Border
.border-2145a2 {
  border: 2px solid #2145a2;
}
CSS variables
:root {
  --color-primary: #2145a2;
  --color-primary-rgb: 33 69 162;
  --color-primary-hsl: 223 66% 38%;
}
Gradient
.gradient-2145a2 {
  background: linear-gradient(135deg, #2145a2, #3e21a2);
}
Colored shadow
.shadow-2145a2 {
  box-shadow: 0 8px 24px rgb(33 69 162 / 0.35);
}

Cobalt Blue
#2145a2  rgb(33, 69, 162)  hsl(223, 66%, 38%)  Cobalt Blue
#a27e21  rgb(162, 126, 33)  hsl(43, 66%, 38%)  Dark Goldenrod
#a22145  rgb(162, 33, 69)  hsl(343, 66%, 38%)  Vivid Burgundy
#45a221  rgb(69, 162, 33)  hsl(103, 66%, 38%)  Islamic Green