#5E34B8

#5e34b8 ≈ Ocean Blue

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#5e34b8 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 36.86% red, 20.39% green and 72.16% blue; printed in CMYK it uses 48.91% cyan, 71.74% magenta, 0% yellow and 27.84% black. Its hue angle is 259.09°, with 55.93% saturation and 46.27% 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.9:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.48.

Description generated from the measured properties of this color.

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

Readable text 7.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #574787 ≈ 0.001% of males
Protanopia #0053bc ≈ 1.01% of males
Deuteranopia #004eb5 ≈ 1.27% of males
Tritanopia #415673 ≈ 0.0001% of males
Protanomaly #2449ba ≈ 1.08% of males
Deuteranomaly #2845b6 ≈ 4.63% of males
Tritanomaly #4e4b93 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5e34b8 {
  color: #5e34b8;
}
Background
.bg-5e34b8 {
  background-color: #5e34b8;
  color: #ffffff;
}
Border
.border-5e34b8 {
  border: 2px solid #5e34b8;
}
CSS variables
:root {
  --color-primary: #5e34b8;
  --color-primary-rgb: 94 52 184;
  --color-primary-hsl: 259 56% 46%;
}
Gradient
.gradient-5e34b8 {
  background: linear-gradient(135deg, #5e34b8, #a034b8);
}
Colored shadow
.shadow-5e34b8 {
  box-shadow: 0 8px 24px rgb(94 52 184 / 0.35);
}

Ocean Blue
#5e34b8  rgb(94, 52, 184)  hsl(259, 56%, 46%)  Ocean Blue
#8eb834  rgb(142, 184, 52)  hsl(79, 56%, 46%)  Apple Green
#b85e34  rgb(184, 94, 52)  hsl(19, 56%, 46%)  Sienna
#34b85e  rgb(52, 184, 94)  hsl(139, 56%, 46%)  Medium Sea Green