#51549F

#51549f ≈ Ocean Blue

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

#51549f is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 31.76% red, 32.94% green and 62.35% blue; printed in CMYK it uses 49.06% cyan, 47.17% magenta, 0% yellow and 37.65% black. Its hue angle is 237.69°, with 32.5% saturation and 47.06% 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.73:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 7.09.

Description generated from the measured properties of this color.

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

Readable text 6.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #58597c ≈ 0.001% of males
Protanopia #345fa2 ≈ 1.01% of males
Deuteranopia #2e599d ≈ 1.27% of males
Tritanopia #346472 ≈ 0.0001% of males
Protanomaly #425ba1 ≈ 1.08% of males
Deuteranomaly #3f579e ≈ 4.63% of males
Tritanomaly #415e86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-51549f {
  color: #51549f;
}
Background
.bg-51549f {
  background-color: #51549f;
  color: #ffffff;
}
Border
.border-51549f {
  border: 2px solid #51549f;
}
CSS variables
:root {
  --color-primary: #51549f;
  --color-primary-rgb: 81 84 159;
  --color-primary-hsl: 238 33% 47%;
}
Gradient
.gradient-51549f {
  background: linear-gradient(135deg, #51549f, #75519f);
}
Colored shadow
.shadow-51549f {
  box-shadow: 0 8px 24px rgb(81 84 159 / 0.35);
}

Ocean Blue
#51549f  rgb(81, 84, 159)  hsl(238, 33%, 47%)  Ocean Blue
#9f9c51  rgb(159, 156, 81)  hsl(58, 33%, 47%)  Brass
#9f5154  rgb(159, 81, 84)  hsl(358, 33%, 47%)  Redwood
#549f51  rgb(84, 159, 81)  hsl(118, 33%, 47%)  Shamrock Green