#6837CD

#6837cd ≈ Ocean Blue

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

#6837cd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 40.78% red, 21.57% green and 80.39% blue; printed in CMYK it uses 49.27% cyan, 73.17% magenta, 0% yellow and 19.61% black. Its hue angle is 259.6°, with 60% saturation and 50.98% 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 6.96:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.74.

Description generated from the measured properties of this color.

Conversions of #6837cd 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.1008

Readable text 6.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #604e96 ≈ 0.001% of males
Protanopia #005cd1 ≈ 1.01% of males
Deuteranopia #0056ca ≈ 1.27% of males
Tritanopia #465f7f ≈ 0.0001% of males
Protanomaly #234fd0 ≈ 1.08% of males
Deuteranomaly #294ccb ≈ 4.63% of males
Tritanomaly #5652a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6837cd {
  color: #6837cd;
}
Background
.bg-6837cd {
  background-color: #6837cd;
  color: #ffffff;
}
Border
.border-6837cd {
  border: 2px solid #6837cd;
}
CSS variables
:root {
  --color-primary: #6837cd;
  --color-primary-rgb: 104 55 205;
  --color-primary-hsl: 260 60% 51%;
}
Gradient
.gradient-6837cd {
  background: linear-gradient(135deg, #6837cd, #b337cd);
}
Colored shadow
.shadow-6837cd {
  box-shadow: 0 8px 24px rgb(104 55 205 / 0.35);
}

Ocean Blue
#6837cd  rgb(104, 55, 205)  hsl(260, 60%, 51%)  Ocean Blue
#9ccd37  rgb(156, 205, 55)  hsl(80, 60%, 51%)  Yellow Green
#cd6837  rgb(205, 104, 55)  hsl(20, 60%, 51%)  Chocolate
#37cd68  rgb(55, 205, 104)  hsl(140, 60%, 51%)  Emerald