#2A51B2

#2a51b2 ≈ Sapphire

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

#2a51b2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 16.47% red, 31.76% green and 69.8% blue; printed in CMYK it uses 76.4% cyan, 54.49% magenta, 0% yellow and 30.2% black. Its hue angle is 222.79°, with 61.82% saturation and 43.14% 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.2:1 (WCAG AAA). The closest named color is Sapphire (#0f52ba), ΔE 1.92.

Description generated from the measured properties of this color.

Conversions of #2a51b2 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.0959

Readable text 7.2:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.92:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #495585 ≈ 0.001% of males
Protanopia #005eb5 ≈ 1.01% of males
Deuteranopia #0051b0 ≈ 1.27% of males
Tritanopia #006979 ≈ 0.0001% of males
Protanomaly #1759b4 ≈ 1.08% of males
Deuteranomaly #0051b1 ≈ 4.63% of males
Tritanomaly #006093 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a51b2 {
  color: #2a51b2;
}
Background
.bg-2a51b2 {
  background-color: #2a51b2;
  color: #ffffff;
}
Border
.border-2a51b2 {
  border: 2px solid #2a51b2;
}
CSS variables
:root {
  --color-primary: #2a51b2;
  --color-primary-rgb: 42 81 178;
  --color-primary-hsl: 223 62% 43%;
}
Gradient
.gradient-2a51b2 {
  background: linear-gradient(135deg, #2a51b2, #472ab2);
}
Colored shadow
.shadow-2a51b2 {
  box-shadow: 0 8px 24px rgb(42 81 178 / 0.35);
}

Sapphire
#2a51b2  rgb(42, 81, 178)  hsl(223, 62%, 43%)  Sapphire
#b28b2a  rgb(178, 139, 42)  hsl(43, 62%, 43%)  Dark Goldenrod
#b22a51  rgb(178, 42, 81)  hsl(343, 62%, 43%)  Vivid Burgundy
#51b22a  rgb(81, 178, 42)  hsl(103, 62%, 43%)  Kelly Green