#5A49B2

#5a49b2 ≈ Ocean Blue

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

#5a49b2 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 35.29% red, 28.63% green and 69.8% blue; printed in CMYK it uses 49.44% cyan, 58.99% magenta, 0% yellow and 30.2% black. Its hue angle is 249.71°, with 41.83% saturation and 49.22% 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 6.93:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 2.6.

Description generated from the measured properties of this color.

Conversions of #5a49b2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#663399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1015

Readable text 6.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.03:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5a5a5a ≈ 0.003% of males
Achromatomaly #5a5386 ≈ 0.001% of males
Protanopia #005db5 ≈ 1.01% of males
Deuteranopia #0057b0 ≈ 1.27% of males
Tritanopia #3b6176 ≈ 0.0001% of males
Protanomaly #3755b4 ≈ 1.08% of males
Deuteranomaly #3652b1 ≈ 4.63% of males
Tritanomaly #495892 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a49b2 {
  color: #5a49b2;
}
Background
.bg-5a49b2 {
  background-color: #5a49b2;
  color: #ffffff;
}
Border
.border-5a49b2 {
  border: 2px solid #5a49b2;
}
CSS variables
:root {
  --color-primary: #5a49b2;
  --color-primary-rgb: 90 73 178;
  --color-primary-hsl: 250 42% 49%;
}
Gradient
.gradient-5a49b2 {
  background: linear-gradient(135deg, #5a49b2, #8f49b2);
}
Colored shadow
.shadow-5a49b2 {
  box-shadow: 0 8px 24px rgb(90 73 178 / 0.35);
}

Ocean Blue
#5a49b2  rgb(90, 73, 178)  hsl(250, 42%, 49%)  Ocean Blue
#a1b249  rgb(161, 178, 73)  hsl(70, 42%, 49%)  Apple Green
#b25a49  rgb(178, 90, 73)  hsl(10, 42%, 49%)  Redwood
#49b25a  rgb(73, 178, 90)  hsl(130, 42%, 49%)  Medium Sea Green