#2145AB

#2145ab ≈ Cobalt Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#2145ab is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 12.94% red, 27.06% green and 67.06% blue; printed in CMYK it uses 80.7% cyan, 59.65% magenta, 0% yellow and 32.94% black. Its hue angle is 224.35°, with 67.65% saturation and 40% 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.39:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 2.21.

Description generated from the measured properties of this color.

Conversions of #2145ab 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.0752

Readable text 8.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #404a7e ≈ 0.001% of males
Protanopia #0054ae ≈ 1.01% of males
Deuteranopia #0047a9 ≈ 1.27% of males
Tritanopia #005f71 ≈ 0.0001% of males
Protanomaly #004ead ≈ 1.08% of males
Deuteranomaly #0046aa ≈ 4.63% of males
Tritanomaly #00568c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2145ab {
  color: #2145ab;
}
Background
.bg-2145ab {
  background-color: #2145ab;
  color: #ffffff;
}
Border
.border-2145ab {
  border: 2px solid #2145ab;
}
CSS variables
:root {
  --color-primary: #2145ab;
  --color-primary-rgb: 33 69 171;
  --color-primary-hsl: 224 68% 40%;
}
Gradient
.gradient-2145ab {
  background: linear-gradient(135deg, #2145ab, #4221ab);
}
Colored shadow
.shadow-2145ab {
  box-shadow: 0 8px 24px rgb(33 69 171 / 0.35);
}

Cobalt Blue
#2145ab  rgb(33, 69, 171)  hsl(224, 68%, 40%)  Cobalt Blue
#ab8721  rgb(171, 135, 33)  hsl(44, 68%, 40%)  Dark Goldenrod
#ab2145  rgb(171, 33, 69)  hsl(344, 68%, 40%)  Vivid Burgundy
#45ab21  rgb(69, 171, 33)  hsl(104, 68%, 40%)  Kelly Green