#405DDD

#405ddd ≈ Royal Blue

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

#405ddd is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 36.47% green and 86.67% blue; printed in CMYK it uses 71.04% cyan, 57.92% magenta, 0% yellow and 13.33% black. Its hue angle is 228.92°, with 69.78% saturation and 55.88% 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.49:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.12.

Description generated from the measured properties of this color.

Conversions of #405ddd 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.1414

Readable text 5.49:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.83:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #5b64a5 ≈ 0.001% of males
Protanopia #0071e1 ≈ 1.01% of males
Deuteranopia #0062da ≈ 1.27% of males
Tritanopia #007d94 ≈ 0.0001% of males
Protanomaly #1169e0 ≈ 1.08% of males
Deuteranomaly #0060db ≈ 4.63% of males
Tritanomaly #0071b6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-405ddd {
  color: #405ddd;
}
Background
.bg-405ddd {
  background-color: #405ddd;
  color: #ffffff;
}
Border
.border-405ddd {
  border: 2px solid #405ddd;
}
CSS variables
:root {
  --color-primary: #405ddd;
  --color-primary-rgb: 64 93 221;
  --color-primary-hsl: 229 70% 56%;
}
Gradient
.gradient-405ddd {
  background: linear-gradient(135deg, #405ddd, #7140dd);
}
Colored shadow
.shadow-405ddd {
  box-shadow: 0 8px 24px rgb(64 93 221 / 0.35);
}

Royal Blue
#405ddd  rgb(64, 93, 221)  hsl(229, 70%, 56%)  Royal Blue
#ddc040  rgb(221, 192, 64)  hsl(49, 70%, 56%)  Old Gold
#dd405d  rgb(221, 64, 93)  hsl(349, 70%, 56%)  Amaranth
#5ddd40  rgb(93, 221, 64)  hsl(109, 70%, 56%)  Lime Green