#2B5DDD

#2b5ddd ≈ Royal Blue

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

#2b5ddd is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 16.86% red, 36.47% green and 86.67% blue; printed in CMYK it uses 80.54% cyan, 57.92% magenta, 0% yellow and 13.33% black. Its hue angle is 223.15°, with 72.36% saturation and 51.76% 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.66:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.21.

Description generated from the measured properties of this color.

Conversions of #2b5ddd 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.1356

Readable text 5.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.71:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #5563a4 ≈ 0.001% of males
Protanopia #0070e1 ≈ 1.01% of males
Deuteranopia #005fdb ≈ 1.27% of males
Tritanopia #007d94 ≈ 0.0001% of males
Protanomaly #0069e0 ≈ 1.08% of males
Deuteranomaly #005edc ≈ 4.63% of males
Tritanomaly #0072b6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2b5ddd {
  color: #2b5ddd;
}
Background
.bg-2b5ddd {
  background-color: #2b5ddd;
  color: #ffffff;
}
Border
.border-2b5ddd {
  border: 2px solid #2b5ddd;
}
CSS variables
:root {
  --color-primary: #2b5ddd;
  --color-primary-rgb: 43 93 221;
  --color-primary-hsl: 223 72% 52%;
}
Gradient
.gradient-2b5ddd {
  background: linear-gradient(135deg, #2b5ddd, #522bdd);
}
Colored shadow
.shadow-2b5ddd {
  box-shadow: 0 8px 24px rgb(43 93 221 / 0.35);
}

Royal Blue
#2b5ddd  rgb(43, 93, 221)  hsl(223, 72%, 52%)  Royal Blue
#ddab2b  rgb(221, 171, 43)  hsl(43, 72%, 52%)  Goldenrod
#dd2b5d  rgb(221, 43, 93)  hsl(343, 72%, 52%)  Cerise
#5ddd2b  rgb(93, 221, 43)  hsl(103, 72%, 52%)  Lime Green