#405BD4

#405bd4 ≈ Royal Blue

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

#405bd4 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 35.69% green and 83.14% blue; printed in CMYK it uses 69.81% cyan, 57.08% magenta, 0% yellow and 16.86% black. Its hue angle is 229.05°, with 63.25% saturation and 54.12% 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.73:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 5.02.

Description generated from the measured properties of this color.

Conversions of #405bd4 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.1333

Readable text 5.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.67:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #59629e ≈ 0.001% of males
Protanopia #006dd8 ≈ 1.01% of males
Deuteranopia #0060d2 ≈ 1.27% of males
Tritanopia #00798f ≈ 0.0001% of males
Protanomaly #1a66d6 ≈ 1.08% of males
Deuteranomaly #005ed3 ≈ 4.63% of males
Tritanomaly #006eaf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-405bd4 {
  color: #405bd4;
}
Background
.bg-405bd4 {
  background-color: #405bd4;
  color: #ffffff;
}
Border
.border-405bd4 {
  border: 2px solid #405bd4;
}
CSS variables
:root {
  --color-primary: #405bd4;
  --color-primary-rgb: 64 91 212;
  --color-primary-hsl: 229 63% 54%;
}
Gradient
.gradient-405bd4 {
  background: linear-gradient(135deg, #405bd4, #6f40d4);
}
Colored shadow
.shadow-405bd4 {
  box-shadow: 0 8px 24px rgb(64 91 212 / 0.35);
}

Royal Blue
#405bd4  rgb(64, 91, 212)  hsl(229, 63%, 54%)  Royal Blue
#d4b940  rgb(212, 185, 64)  hsl(49, 63%, 54%)  Old Gold
#d4405b  rgb(212, 64, 91)  hsl(349, 63%, 54%)  Brick Red
#5bd440  rgb(91, 212, 64)  hsl(109, 63%, 54%)  Lime Green