#2D5CD7

#2d5cd7 ≈ Royal Blue

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

#2d5cd7 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 17.65% red, 36.08% green and 84.31% blue; printed in CMYK it uses 79.07% cyan, 57.21% magenta, 0% yellow and 15.69% black. Its hue angle is 223.41°, with 68% saturation and 50.98% 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.72.

Description generated from the measured properties of this color.

Conversions of #2d5cd7 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.1312

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 #006edb ≈ 1.01% of males
Deuteranopia #005ed5 ≈ 1.27% of males
Tritanopia #007b90 ≈ 0.0001% of males
Protanomaly #0067da ≈ 1.08% of males
Deuteranomaly #005dd6 ≈ 4.63% of males
Tritanomaly #0070b1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d5cd7 {
  color: #2d5cd7;
}
Background
.bg-2d5cd7 {
  background-color: #2d5cd7;
  color: #ffffff;
}
Border
.border-2d5cd7 {
  border: 2px solid #2d5cd7;
}
CSS variables
:root {
  --color-primary: #2d5cd7;
  --color-primary-rgb: 45 92 215;
  --color-primary-hsl: 223 68% 51%;
}
Gradient
.gradient-2d5cd7 {
  background: linear-gradient(135deg, #2d5cd7, #532dd7);
}
Colored shadow
.shadow-2d5cd7 {
  box-shadow: 0 8px 24px rgb(45 92 215 / 0.35);
}

Royal Blue
#2d5cd7  rgb(45, 92, 215)  hsl(223, 68%, 51%)  Royal Blue
#d7a82d  rgb(215, 168, 45)  hsl(43, 68%, 51%)  Goldenrod
#d72d5c  rgb(215, 45, 92)  hsl(343, 68%, 51%)  Cerise
#5cd72d  rgb(92, 215, 45)  hsl(103, 68%, 51%)  Lime Green