#2A5CD8

#2a5cd8 ≈ Royal Blue

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

#2a5cd8 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 16.47% red, 36.08% green and 84.71% blue; printed in CMYK it uses 80.56% cyan, 57.41% magenta, 0% yellow and 15.29% black. Its hue angle is 222.76°, with 69.05% saturation and 50.59% 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 5.8:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.74.

Description generated from the measured properties of this color.

Conversions of #2a5cd8 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.131

Readable text 5.8:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.62:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #5462a0 ≈ 0.001% of males
Protanopia #006edc ≈ 1.01% of males
Deuteranopia #005ed6 ≈ 1.27% of males
Tritanopia #007b91 ≈ 0.0001% of males
Protanomaly #0067db ≈ 1.08% of males
Deuteranomaly #005dd7 ≈ 4.63% of males
Tritanomaly #0070b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a5cd8 {
  color: #2a5cd8;
}
Background
.bg-2a5cd8 {
  background-color: #2a5cd8;
  color: #ffffff;
}
Border
.border-2a5cd8 {
  border: 2px solid #2a5cd8;
}
CSS variables
:root {
  --color-primary: #2a5cd8;
  --color-primary-rgb: 42 92 216;
  --color-primary-hsl: 223 69% 51%;
}
Gradient
.gradient-2a5cd8 {
  background: linear-gradient(135deg, #2a5cd8, #4f2ad8);
}
Colored shadow
.shadow-2a5cd8 {
  box-shadow: 0 8px 24px rgb(42 92 216 / 0.35);
}

Royal Blue
#2a5cd8  rgb(42, 92, 216)  hsl(223, 69%, 51%)  Royal Blue
#d8a62a  rgb(216, 166, 42)  hsl(43, 69%, 51%)  Goldenrod
#d82a5c  rgb(216, 42, 92)  hsl(343, 69%, 51%)  Raspberry
#5cd82a  rgb(92, 216, 42)  hsl(103, 69%, 51%)  Lime Green