#5976D2

#5976d2 ≈ Royal Blue

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

#5976d2 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 34.9% red, 46.27% green and 82.35% blue; printed in CMYK it uses 57.62% cyan, 43.81% magenta, 0% yellow and 17.65% black. Its hue angle is 225.62°, with 57.35% saturation and 58.63% 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.95:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.99.

Description generated from the measured properties of this color.

Conversions of #5976d2 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.1973

Readable text 4.25:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.95:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #6f79a5 ≈ 0.001% of males
Protanopia #4d81d5 ≈ 1.01% of males
Deuteranopia #3c76d0 ≈ 1.27% of males
Tritanopia #008a9a ≈ 0.0001% of males
Protanomaly #527cd4 ≈ 1.08% of males
Deuteranomaly #4976d1 ≈ 4.63% of males
Tritanomaly #3783b3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5976d2 {
  color: #5976d2;
}
Background
.bg-5976d2 {
  background-color: #5976d2;
  color: #000000;
}
Border
.border-5976d2 {
  border: 2px solid #5976d2;
}
CSS variables
:root {
  --color-primary: #5976d2;
  --color-primary-rgb: 89 118 210;
  --color-primary-hsl: 226 57% 59%;
}
Gradient
.gradient-5976d2 {
  background: linear-gradient(135deg, #5976d2, #7959d2);
}
Colored shadow
.shadow-5976d2 {
  box-shadow: 0 8px 24px rgb(89 118 210 / 0.35);
}

Royal Blue
#5976d2  rgb(89, 118, 210)  hsl(226, 57%, 59%)  Royal Blue
#d2b559  rgb(210, 181, 89)  hsl(46, 57%, 59%)  Vegas Gold
#d25976  rgb(210, 89, 118)  hsl(346, 57%, 59%)  Blush
#76d259  rgb(118, 210, 89)  hsl(106, 57%, 59%)  Pastel Green