#2A5BCB

#2a5bcb ≈ Sapphire

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

#2a5bcb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 16.47% red, 35.69% green and 79.61% blue; printed in CMYK it uses 79.31% cyan, 55.17% magenta, 0% yellow and 20.39% black. Its hue angle is 221.74°, with 65.71% saturation and 48.04% 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 6.07:1 (WCAG AA). The closest named color is Sapphire (#0f52ba), ΔE 3.94.

Description generated from the measured properties of this color.

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

Readable text 6.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #515f98 ≈ 0.001% of males
Protanopia #006acf ≈ 1.01% of males
Deuteranopia #005bc9 ≈ 1.27% of males
Tritanopia #00778a ≈ 0.0001% of males
Protanomaly #0d64cd ≈ 1.08% of males
Deuteranomaly #005bca ≈ 4.63% of males
Tritanomaly #006da8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a5bcb {
  color: #2a5bcb;
}
Background
.bg-2a5bcb {
  background-color: #2a5bcb;
  color: #ffffff;
}
Border
.border-2a5bcb {
  border: 2px solid #2a5bcb;
}
CSS variables
:root {
  --color-primary: #2a5bcb;
  --color-primary-rgb: 42 91 203;
  --color-primary-hsl: 222 66% 48%;
}
Gradient
.gradient-2a5bcb {
  background: linear-gradient(135deg, #2a5bcb, #4a2acb);
}
Colored shadow
.shadow-2a5bcb {
  box-shadow: 0 8px 24px rgb(42 91 203 / 0.35);
}

Sapphire
#2a5bcb  rgb(42, 91, 203)  hsl(222, 66%, 48%)  Sapphire
#cb9a2a  rgb(203, 154, 42)  hsl(42, 66%, 48%)  Goldenrod
#cb2a5b  rgb(203, 42, 91)  hsl(342, 66%, 48%)  Ruby
#5bcb2a  rgb(91, 203, 42)  hsl(102, 66%, 48%)  Lime Green