#646CC4

#646cc4 ≈ Royal Blue

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

#646cc4 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 39.22% red, 42.35% green and 76.86% blue; printed in CMYK it uses 48.98% cyan, 44.9% magenta, 0% yellow and 23.14% black. Its hue angle is 235°, with 44.86% saturation and 58.04% 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.68:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 6.21.

Description generated from the measured properties of this color.

Conversions of #646cc4 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6666cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1742

Readable text 4.68:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.48:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #6e719a ≈ 0.001% of males
Protanopia #4878c7 ≈ 1.01% of males
Deuteranopia #3f70c2 ≈ 1.27% of males
Tritanopia #3f7f8e ≈ 0.0001% of males
Protanomaly #5473c6 ≈ 1.08% of males
Deuteranomaly #506fc3 ≈ 4.63% of males
Tritanomaly #5078a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-646cc4 {
  color: #646cc4;
}
Background
.bg-646cc4 {
  background-color: #646cc4;
  color: #ffffff;
}
Border
.border-646cc4 {
  border: 2px solid #646cc4;
}
CSS variables
:root {
  --color-primary: #646cc4;
  --color-primary-rgb: 100 108 196;
  --color-primary-hsl: 235 45% 58%;
}
Gradient
.gradient-646cc4 {
  background: linear-gradient(135deg, #646cc4, #8c64c4);
}
Colored shadow
.shadow-646cc4 {
  box-shadow: 0 8px 24px rgb(100 108 196 / 0.35);
}

Royal Blue
#646cc4  rgb(100, 108, 196)  hsl(235, 45%, 58%)  Royal Blue
#c4bc64  rgb(196, 188, 100)  hsl(55, 45%, 58%)  Dark Khaki
#c4646c  rgb(196, 100, 108)  hsl(355, 45%, 58%)  Indian Red
#6cc464  rgb(108, 196, 100)  hsl(115, 45%, 58%)  Mantis