#51549D

#51549d ≈ Ocean Blue

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

#51549d 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 61.57% blue; printed in CMYK it uses 48.41% cyan, 46.5% magenta, 0% yellow and 38.43% black. Its hue angle is 237.63°, with 31.93% saturation and 46.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 6.76:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 7.33.

Description generated from the measured properties of this color.

Conversions of #51549d 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.1052

Readable text 6.76:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.1:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #57587b ≈ 0.001% of males
Protanopia #365ea0 ≈ 1.01% of males
Deuteranopia #30589b ≈ 1.27% of males
Tritanopia #356371 ≈ 0.0001% of males
Protanomaly #425a9f ≈ 1.08% of males
Deuteranomaly #40579c ≈ 4.63% of males
Tritanomaly #425e85 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#51549d  rgb(81, 84, 157)  hsl(238, 32%, 47%)  Ocean Blue
#9d9a51  rgb(157, 154, 81)  hsl(58, 32%, 47%)  Moss Green
#9d5154  rgb(157, 81, 84)  hsl(358, 32%, 47%)  Redwood
#549d51  rgb(84, 157, 81)  hsl(118, 32%, 47%)  Shamrock Green