#2A4ECC

#2a4ecc ≈ Sapphire

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

#2a4ecc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 16.47% red, 30.59% green and 80% blue; printed in CMYK it uses 79.41% cyan, 61.76% magenta, 0% yellow and 20% black. Its hue angle is 226.67°, with 65.85% saturation and 48.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 6.86:1 (WCAG AA). The closest named color is Sapphire (#0f52ba), ΔE 4.3.

Description generated from the measured properties of this color.

Conversions of #2a4ecc 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.103

Readable text 6.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5a5a5a ≈ 0.003% of males
Achromatomaly #4b5696 ≈ 0.001% of males
Protanopia #0062d0 ≈ 1.01% of males
Deuteranopia #0053ca ≈ 1.27% of males
Tritanopia #006f85 ≈ 0.0001% of males
Protanomaly #005bce ≈ 1.08% of males
Deuteranomaly #0051cb ≈ 4.63% of males
Tritanomaly #0063a6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a4ecc {
  color: #2a4ecc;
}
Background
.bg-2a4ecc {
  background-color: #2a4ecc;
  color: #ffffff;
}
Border
.border-2a4ecc {
  border: 2px solid #2a4ecc;
}
CSS variables
:root {
  --color-primary: #2a4ecc;
  --color-primary-rgb: 42 78 204;
  --color-primary-hsl: 227 66% 48%;
}
Gradient
.gradient-2a4ecc {
  background: linear-gradient(135deg, #2a4ecc, #572acc);
}
Colored shadow
.shadow-2a4ecc {
  box-shadow: 0 8px 24px rgb(42 78 204 / 0.35);
}

Sapphire
#2a4ecc  rgb(42, 78, 204)  hsl(227, 66%, 48%)  Sapphire
#cca82a  rgb(204, 168, 42)  hsl(47, 66%, 48%)  Metallic Gold
#cc2a4e  rgb(204, 42, 78)  hsl(347, 66%, 48%)  Brick Red
#4ecc2a  rgb(78, 204, 42)  hsl(107, 66%, 48%)  Lime Green