#5846A6

#5846a6 ≈ Ocean Blue

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

#5846a6 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 34.51% red, 27.45% green and 65.1% blue; printed in CMYK it uses 46.99% cyan, 57.83% magenta, 0% yellow and 34.9% black. Its hue angle is 251.25°, with 40.68% 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.39:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.15.

Description generated from the measured properties of this color.

Conversions of #5846a6 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.0921

Readable text 7.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #57507e ≈ 0.001% of males
Protanopia #0458a9 ≈ 1.01% of males
Deuteranopia #0553a4 ≈ 1.27% of males
Tritanopia #3f5b6f ≈ 0.0001% of males
Protanomaly #3851a8 ≈ 1.08% of males
Deuteranomaly #384ea5 ≈ 4.63% of males
Tritanomaly #4a5488 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5846a6 {
  color: #5846a6;
}
Background
.bg-5846a6 {
  background-color: #5846a6;
  color: #ffffff;
}
Border
.border-5846a6 {
  border: 2px solid #5846a6;
}
CSS variables
:root {
  --color-primary: #5846a6;
  --color-primary-rgb: 88 70 166;
  --color-primary-hsl: 251 41% 46%;
}
Gradient
.gradient-5846a6 {
  background: linear-gradient(135deg, #5846a6, #8846a6);
}
Colored shadow
.shadow-5846a6 {
  box-shadow: 0 8px 24px rgb(88 70 166 / 0.35);
}

Ocean Blue
#5846a6  rgb(88, 70, 166)  hsl(251, 41%, 46%)  Ocean Blue
#94a646  rgb(148, 166, 70)  hsl(71, 41%, 46%)  Moss Green
#a65846  rgb(166, 88, 70)  hsl(11, 41%, 46%)  Redwood
#46a658  rgb(70, 166, 88)  hsl(131, 41%, 46%)  Medium Sea Green