#5F6FCD

#5f6fcd ≈ Royal Blue

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

#5f6fcd is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 37.25% red, 43.53% green and 80.39% blue; printed in CMYK it uses 53.66% cyan, 45.85% magenta, 0% yellow and 19.61% black. Its hue angle is 231.27°, with 52.38% saturation and 58.82% 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. Black text on this color reaches a contrast ratio of 4.64:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.69.

Description generated from the measured properties of this color.

Conversions of #5f6fcd 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.1821

Readable text 4.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.64:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #6e73a0 ≈ 0.001% of males
Protanopia #457bd0 ≈ 1.01% of males
Deuteranopia #3872cb ≈ 1.27% of males
Tritanopia #298494 ≈ 0.0001% of males
Protanomaly #5176cf ≈ 1.08% of males
Deuteranomaly #4b71cc ≈ 4.63% of males
Tritanomaly #457cae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f6fcd {
  color: #5f6fcd;
}
Background
.bg-5f6fcd {
  background-color: #5f6fcd;
  color: #000000;
}
Border
.border-5f6fcd {
  border: 2px solid #5f6fcd;
}
CSS variables
:root {
  --color-primary: #5f6fcd;
  --color-primary-rgb: 95 111 205;
  --color-primary-hsl: 231 52% 59%;
}
Gradient
.gradient-5f6fcd {
  background: linear-gradient(135deg, #5f6fcd, #865fcd);
}
Colored shadow
.shadow-5f6fcd {
  box-shadow: 0 8px 24px rgb(95 111 205 / 0.35);
}

Royal Blue
#5f6fcd  rgb(95, 111, 205)  hsl(231, 52%, 59%)  Royal Blue
#cdbd5f  rgb(205, 189, 95)  hsl(51, 52%, 59%)  Vegas Gold
#cd5f6f  rgb(205, 95, 111)  hsl(351, 52%, 59%)  Indian Red
#6fcd5f  rgb(111, 205, 95)  hsl(111, 52%, 59%)  Mantis