#54589F

#54589f ≈ Ocean Blue

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

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

Description generated from the measured properties of this color.

Conversions of #54589f 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.1137

Readable text 6.42:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.27:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #5b5c7e ≈ 0.001% of males
Protanopia #3c62a2 ≈ 1.01% of males
Deuteranopia #365c9d ≈ 1.27% of males
Tritanopia #3a6774 ≈ 0.0001% of males
Protanomaly #475ea1 ≈ 1.08% of males
Deuteranomaly #445a9e ≈ 4.63% of males
Tritanomaly #466187 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-54589f {
  color: #54589f;
}
Background
.bg-54589f {
  background-color: #54589f;
  color: #ffffff;
}
Border
.border-54589f {
  border: 2px solid #54589f;
}
CSS variables
:root {
  --color-primary: #54589f;
  --color-primary-rgb: 84 88 159;
  --color-primary-hsl: 237 31% 48%;
}
Gradient
.gradient-54589f {
  background: linear-gradient(135deg, #54589f, #76549f);
}
Colored shadow
.shadow-54589f {
  box-shadow: 0 8px 24px rgb(84 88 159 / 0.35);
}

Ocean Blue
#54589f  rgb(84, 88, 159)  hsl(237, 31%, 48%)  Ocean Blue
#9f9b54  rgb(159, 155, 84)  hsl(57, 31%, 48%)  Moss Green
#9f5458  rgb(159, 84, 88)  hsl(357, 31%, 48%)  Redwood
#589f54  rgb(88, 159, 84)  hsl(117, 31%, 48%)  Shamrock Green