#5F6BC2

#5f6bc2 ≈ Royal Blue

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

#5f6bc2 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 37.25% red, 41.96% green and 76.08% blue; printed in CMYK it uses 51.03% cyan, 44.85% magenta, 0% yellow and 23.92% black. Its hue angle is 232.73°, with 44.8% saturation and 56.67% 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.81:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 5.61.

Description generated from the measured properties of this color.

Conversions of #5f6bc2 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.1684

Readable text 4.81:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #6b6f99 ≈ 0.001% of males
Protanopia #4676c5 ≈ 1.01% of males
Deuteranopia #3c6ec0 ≈ 1.27% of males
Tritanopia #357e8d ≈ 0.0001% of males
Protanomaly #5172c4 ≈ 1.08% of males
Deuteranomaly #4c6dc1 ≈ 4.63% of males
Tritanomaly #4977a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f6bc2 {
  color: #5f6bc2;
}
Background
.bg-5f6bc2 {
  background-color: #5f6bc2;
  color: #ffffff;
}
Border
.border-5f6bc2 {
  border: 2px solid #5f6bc2;
}
CSS variables
:root {
  --color-primary: #5f6bc2;
  --color-primary-rgb: 95 107 194;
  --color-primary-hsl: 233 45% 57%;
}
Gradient
.gradient-5f6bc2 {
  background: linear-gradient(135deg, #5f6bc2, #855fc2);
}
Colored shadow
.shadow-5f6bc2 {
  box-shadow: 0 8px 24px rgb(95 107 194 / 0.35);
}

Royal Blue
#5f6bc2  rgb(95, 107, 194)  hsl(233, 45%, 57%)  Royal Blue
#c2b65f  rgb(194, 182, 95)  hsl(53, 45%, 57%)  Vegas Gold
#c25f6b  rgb(194, 95, 107)  hsl(353, 45%, 57%)  Rose Gold
#6bc25f  rgb(107, 194, 95)  hsl(113, 45%, 57%)  Mantis