#6039CC

#6039cc ≈ Ocean Blue

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

#6039cc is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 37.65% red, 22.35% green and 80% blue; printed in CMYK it uses 52.94% cyan, 72.06% magenta, 0% yellow and 20% black. Its hue angle is 255.92°, with 59.04% saturation and 51.18% 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.11:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.71.

Description generated from the measured properties of this color.

Conversions of #6039cc 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.0977

Readable text 7.11: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 #5b4d95 ≈ 0.001% of males
Protanopia #005bd0 ≈ 1.01% of males
Deuteranopia #0054c9 ≈ 1.27% of males
Tritanopia #35607f ≈ 0.0001% of males
Protanomaly #1850cf ≈ 1.08% of males
Deuteranomaly #1b4bca ≈ 4.63% of males
Tritanomaly #4a53a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6039cc {
  color: #6039cc;
}
Background
.bg-6039cc {
  background-color: #6039cc;
  color: #ffffff;
}
Border
.border-6039cc {
  border: 2px solid #6039cc;
}
CSS variables
:root {
  --color-primary: #6039cc;
  --color-primary-rgb: 96 57 204;
  --color-primary-hsl: 256 59% 51%;
}
Gradient
.gradient-6039cc {
  background: linear-gradient(135deg, #6039cc, #aa39cc);
}
Colored shadow
.shadow-6039cc {
  box-shadow: 0 8px 24px rgb(96 57 204 / 0.35);
}

Ocean Blue
#6039cc  rgb(96, 57, 204)  hsl(256, 59%, 51%)  Ocean Blue
#a5cc39  rgb(165, 204, 57)  hsl(76, 59%, 51%)  Yellow Green
#cc6039  rgb(204, 96, 57)  hsl(16, 59%, 51%)  Flame
#39cc60  rgb(57, 204, 96)  hsl(136, 59%, 51%)  Emerald