#2D5FDF

#2d5fdf ≈ Royal Blue

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

#2d5fdf 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 87.45% blue; printed in CMYK it uses 79.82% cyan, 57.4% magenta, 0% yellow and 12.55% black. Its hue angle is 223.15°, with 73.55% saturation and 52.55% 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.51:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 3.53.

Description generated from the measured properties of this color.

Conversions of #2d5fdf 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.1407

Readable text 5.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.81:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #5765a6 ≈ 0.001% of males
Protanopia #0071e3 ≈ 1.01% of males
Deuteranopia #0061dd ≈ 1.27% of males
Tritanopia #007f96 ≈ 0.0001% of males
Protanomaly #006ae2 ≈ 1.08% of males
Deuteranomaly #0060de ≈ 4.63% of males
Tritanomaly #0074b8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Blue
#2d5fdf  rgb(45, 95, 223)  hsl(223, 74%, 53%)  Royal Blue
#dfad2d  rgb(223, 173, 45)  hsl(43, 74%, 53%)  Goldenrod
#df2d5f  rgb(223, 45, 95)  hsl(343, 74%, 53%)  Cerise
#5fdf2d  rgb(95, 223, 45)  hsl(103, 74%, 53%)  Lime Green