#405CA8

#405ca8 ≈ Sapphire

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#405ca8 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 25.1% red, 36.08% green and 65.88% blue; printed in CMYK it uses 61.9% cyan, 45.24% magenta, 0% yellow and 34.12% black. Its hue angle is 223.85°, with 44.83% saturation and 45.49% 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 6.34:1 (WCAG AA). The closest named color is Sapphire (#0f52ba), ΔE 4.97.

Description generated from the measured properties of this color.

Conversions of #405ca8 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#336699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1157

Readable text 6.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #555e83 ≈ 0.001% of males
Protanopia #3965ab ≈ 1.01% of males
Deuteranopia #285ba6 ≈ 1.27% of males
Tritanopia #006d7a ≈ 0.0001% of males
Protanomaly #3c61aa ≈ 1.08% of males
Deuteranomaly #335ba7 ≈ 4.63% of males
Tritanomaly #1d678e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-405ca8 {
  color: #405ca8;
}
Background
.bg-405ca8 {
  background-color: #405ca8;
  color: #ffffff;
}
Border
.border-405ca8 {
  border: 2px solid #405ca8;
}
CSS variables
:root {
  --color-primary: #405ca8;
  --color-primary-rgb: 64 92 168;
  --color-primary-hsl: 224 45% 45%;
}
Gradient
.gradient-405ca8 {
  background: linear-gradient(135deg, #405ca8, #5840a8);
}
Colored shadow
.shadow-405ca8 {
  box-shadow: 0 8px 24px rgb(64 92 168 / 0.35);
}

Sapphire
#405ca8  rgb(64, 92, 168)  hsl(224, 45%, 45%)  Sapphire
#a88c40  rgb(168, 140, 64)  hsl(44, 45%, 45%)  Dark Goldenrod
#a8405c  rgb(168, 64, 92)  hsl(344, 45%, 45%)  Cordovan
#5ca840  rgb(92, 168, 64)  hsl(104, 45%, 45%)  Kelly Green