#2B5BDB

#2b5bdb ≈ Royal Blue

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

#2b5bdb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 16.86% red, 35.69% green and 85.88% blue; printed in CMYK it uses 80.37% cyan, 58.45% magenta, 0% yellow and 14.12% black. Its hue angle is 223.64°, with 70.97% saturation and 51.37% 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.86.

Description generated from the measured properties of this color.

Conversions of #2b5bdb 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.1311

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 #5461a2 ≈ 0.001% of males
Protanopia #006edf ≈ 1.01% of males
Deuteranopia #005ed9 ≈ 1.27% of males
Tritanopia #007c92 ≈ 0.0001% of males
Protanomaly #0067de ≈ 1.08% of males
Deuteranomaly #005dda ≈ 4.63% of males
Tritanomaly #0070b4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Blue
#2b5bdb  rgb(43, 91, 219)  hsl(224, 71%, 51%)  Royal Blue
#dbab2b  rgb(219, 171, 43)  hsl(44, 71%, 51%)  Goldenrod
#db2b5b  rgb(219, 43, 91)  hsl(344, 71%, 51%)  Cerise
#5bdb2b  rgb(91, 219, 43)  hsl(104, 71%, 51%)  Lime Green