#2D5FDA

#2d5fda ≈ Royal Blue

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

#2d5fda 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 85.49% blue; printed in CMYK it uses 79.36% cyan, 56.42% magenta, 0% yellow and 14.51% black. Its hue angle is 222.66°, with 70.04% saturation and 51.57% 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.58:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 3.76.

Description generated from the measured properties of this color.

Conversions of #2d5fda 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.138

Readable text 5.58:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.76:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #5664a2 ≈ 0.001% of males
Protanopia #0070de ≈ 1.01% of males
Deuteranopia #0060d8 ≈ 1.27% of males
Tritanopia #007e93 ≈ 0.0001% of males
Protanomaly #006add ≈ 1.08% of males
Deuteranomaly #0060d9 ≈ 4.63% of males
Tritanomaly #0073b4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Blue
#2d5fda  rgb(45, 95, 218)  hsl(223, 70%, 52%)  Royal Blue
#daa82d  rgb(218, 168, 45)  hsl(43, 70%, 52%)  Goldenrod
#da2d5f  rgb(218, 45, 95)  hsl(343, 70%, 52%)  Cerise
#5fda2d  rgb(95, 218, 45)  hsl(103, 70%, 52%)  Lime Green