#2D5BD6

#2d5bd6 ≈ Royal Blue

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

#2d5bd6 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 17.65% red, 35.69% green and 83.92% blue; printed in CMYK it uses 78.97% cyan, 57.48% magenta, 0% yellow and 16.08% black. Its hue angle is 223.67°, with 67.33% saturation and 50.78% 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.87:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 5.05.

Description generated from the measured properties of this color.

Conversions of #2d5bd6 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.129

Readable text 5.87:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.58:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #54619f ≈ 0.001% of males
Protanopia #006dda ≈ 1.01% of males
Deuteranopia #005dd4 ≈ 1.27% of males
Tritanopia #007a90 ≈ 0.0001% of males
Protanomaly #0066d9 ≈ 1.08% of males
Deuteranomaly #005cd5 ≈ 4.63% of males
Tritanomaly #006fb0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d5bd6 {
  color: #2d5bd6;
}
Background
.bg-2d5bd6 {
  background-color: #2d5bd6;
  color: #ffffff;
}
Border
.border-2d5bd6 {
  border: 2px solid #2d5bd6;
}
CSS variables
:root {
  --color-primary: #2d5bd6;
  --color-primary-rgb: 45 91 214;
  --color-primary-hsl: 224 67% 51%;
}
Gradient
.gradient-2d5bd6 {
  background: linear-gradient(135deg, #2d5bd6, #532dd6);
}
Colored shadow
.shadow-2d5bd6 {
  box-shadow: 0 8px 24px rgb(45 91 214 / 0.35);
}

Royal Blue
#2d5bd6  rgb(45, 91, 214)  hsl(224, 67%, 51%)  Royal Blue
#d6a82d  rgb(214, 168, 45)  hsl(44, 67%, 51%)  Goldenrod
#d62d5b  rgb(214, 45, 91)  hsl(344, 67%, 51%)  Raspberry
#5bd62d  rgb(91, 214, 45)  hsl(104, 67%, 51%)  Lime Green