#5161CD

#5161cd ≈ Royal Blue

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

#5161cd is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 31.76% red, 38.04% green and 80.39% blue; printed in CMYK it uses 60.49% cyan, 52.68% magenta, 0% yellow and 19.61% black. Its hue angle is 232.26°, with 55.36% saturation and 56.08% 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 5.33:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.4.

Description generated from the measured properties of this color.

Conversions of #5161cd 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.1471

Readable text 5.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #62679c ≈ 0.001% of males
Protanopia #1e71d1 ≈ 1.01% of males
Deuteranopia #0066cb ≈ 1.27% of males
Tritanopia #007a8e ≈ 0.0001% of males
Protanomaly #396bcf ≈ 1.08% of males
Deuteranomaly #3064cc ≈ 4.63% of males
Tritanomaly #2b71ab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5161cd {
  color: #5161cd;
}
Background
.bg-5161cd {
  background-color: #5161cd;
  color: #ffffff;
}
Border
.border-5161cd {
  border: 2px solid #5161cd;
}
CSS variables
:root {
  --color-primary: #5161cd;
  --color-primary-rgb: 81 97 205;
  --color-primary-hsl: 232 55% 56%;
}
Gradient
.gradient-5161cd {
  background: linear-gradient(135deg, #5161cd, #7f51cd);
}
Colored shadow
.shadow-5161cd {
  box-shadow: 0 8px 24px rgb(81 97 205 / 0.35);
}

Royal Blue
#5161cd  rgb(81, 97, 205)  hsl(232, 55%, 56%)  Royal Blue
#cdbd51  rgb(205, 189, 81)  hsl(52, 55%, 56%)  Vegas Gold
#cd5161  rgb(205, 81, 97)  hsl(352, 55%, 56%)  Brick Red
#61cd51  rgb(97, 205, 81)  hsl(112, 55%, 56%)  Lime Green