#406CCF

#406ccf ≈ Royal Blue

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

#406ccf is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 42.35% green and 81.18% blue; printed in CMYK it uses 69.08% cyan, 47.83% magenta, 0% yellow and 18.82% black. Its hue angle is 221.54°, with 59.83% saturation and 53.14% 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 4.92:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 2.73.

Description generated from the measured properties of this color.

Conversions of #406ccf 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.1632

Readable text 4.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #616f9f ≈ 0.001% of males
Protanopia #3777d3 ≈ 1.01% of males
Deuteranopia #116acd ≈ 1.27% of males
Tritanopia #008393 ≈ 0.0001% of males
Protanomaly #3b73d1 ≈ 1.08% of males
Deuteranomaly #2b6bce ≈ 4.63% of males
Tritanomaly #007bae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-406ccf {
  color: #406ccf;
}
Background
.bg-406ccf {
  background-color: #406ccf;
  color: #ffffff;
}
Border
.border-406ccf {
  border: 2px solid #406ccf;
}
CSS variables
:root {
  --color-primary: #406ccf;
  --color-primary-rgb: 64 108 207;
  --color-primary-hsl: 222 60% 53%;
}
Gradient
.gradient-406ccf {
  background: linear-gradient(135deg, #406ccf, #5c40cf);
}
Colored shadow
.shadow-406ccf {
  box-shadow: 0 8px 24px rgb(64 108 207 / 0.35);
}

Royal Blue
#406ccf  rgb(64, 108, 207)  hsl(222, 60%, 53%)  Royal Blue
#cfa340  rgb(207, 163, 64)  hsl(42, 60%, 53%)  Goldenrod
#cf406c  rgb(207, 64, 108)  hsl(342, 60%, 53%)  Razzmatazz
#6ccf40  rgb(108, 207, 64)  hsl(102, 60%, 53%)  Lime Green