#2D5FDD

#2d5fdd ≈ Royal Blue

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

#2d5fdd is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 17.65% red, 37.25% green and 86.67% blue; printed in CMYK it uses 79.64% cyan, 57.01% magenta, 0% yellow and 13.33% black. Its hue angle is 222.95°, with 72.13% saturation and 52.16% 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.54:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 3.61.

Description generated from the measured properties of this color.

Conversions of #2d5fdd 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.1396

Readable text 5.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.79:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #5765a4 ≈ 0.001% of males
Protanopia #0071e1 ≈ 1.01% of males
Deuteranopia #0061db ≈ 1.27% of males
Tritanopia #007f95 ≈ 0.0001% of males
Protanomaly #006ae0 ≈ 1.08% of males
Deuteranomaly #0060dc ≈ 4.63% of males
Tritanomaly #0073b6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Blue
#2d5fdd  rgb(45, 95, 221)  hsl(223, 72%, 52%)  Royal Blue
#ddab2d  rgb(221, 171, 45)  hsl(43, 72%, 52%)  Goldenrod
#dd2d5f  rgb(221, 45, 95)  hsl(343, 72%, 52%)  Cerise
#5fdd2d  rgb(95, 221, 45)  hsl(103, 72%, 52%)  Lime Green