#5E45AF

#5e45af ≈ Ocean Blue

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#5e45af is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 36.86% red, 27.06% green and 68.63% blue; printed in CMYK it uses 46.29% cyan, 60.57% magenta, 0% yellow and 31.37% black. Its hue angle is 254.15°, with 43.44% saturation and 47.84% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 7.13:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 2.91.

Description generated from the measured properties of this color.

Conversions of #5e45af 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.0973

Readable text 7.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.95:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #5a5184 ≈ 0.001% of males
Protanopia #005ab2 ≈ 1.01% of males
Deuteranopia #0055ad ≈ 1.27% of males
Tritanopia #455d73 ≈ 0.0001% of males
Protanomaly #3852b1 ≈ 1.08% of males
Deuteranomaly #394fae ≈ 4.63% of males
Tritanomaly #50548f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5e45af {
  color: #5e45af;
}
Background
.bg-5e45af {
  background-color: #5e45af;
  color: #ffffff;
}
Border
.border-5e45af {
  border: 2px solid #5e45af;
}
CSS variables
:root {
  --color-primary: #5e45af;
  --color-primary-rgb: 94 69 175;
  --color-primary-hsl: 254 43% 48%;
}
Gradient
.gradient-5e45af {
  background: linear-gradient(135deg, #5e45af, #9345af);
}
Colored shadow
.shadow-5e45af {
  box-shadow: 0 8px 24px rgb(94 69 175 / 0.35);
}

Ocean Blue
#5e45af  rgb(94, 69, 175)  hsl(254, 43%, 48%)  Ocean Blue
#96af45  rgb(150, 175, 69)  hsl(74, 43%, 48%)  Apple Green
#af5e45  rgb(175, 94, 69)  hsl(14, 43%, 48%)  Sienna
#45af5e  rgb(69, 175, 94)  hsl(134, 43%, 48%)  Medium Sea Green