#5938CA

#5938ca ≈ Ocean Blue

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

#5938ca is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 34.9% red, 21.96% green and 79.22% blue; printed in CMYK it uses 55.94% cyan, 72.28% magenta, 0% yellow and 20.78% black. Its hue angle is 253.56°, with 57.94% saturation and 50.59% 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 4.14.

Description generated from the measured properties of this color.

Conversions of #5938ca 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.0922

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 #574b93 ≈ 0.001% of males
Protanopia #005ace ≈ 1.01% of males
Deuteranopia #0051c7 ≈ 1.27% of males
Tritanopia #23607e ≈ 0.0001% of males
Protanomaly #054ecd ≈ 1.08% of males
Deuteranomaly #0548c8 ≈ 4.63% of males
Tritanomaly #3f53a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5938ca {
  color: #5938ca;
}
Background
.bg-5938ca {
  background-color: #5938ca;
  color: #ffffff;
}
Border
.border-5938ca {
  border: 2px solid #5938ca;
}
CSS variables
:root {
  --color-primary: #5938ca;
  --color-primary-rgb: 89 56 202;
  --color-primary-hsl: 254 58% 51%;
}
Gradient
.gradient-5938ca {
  background: linear-gradient(135deg, #5938ca, #a238ca);
}
Colored shadow
.shadow-5938ca {
  box-shadow: 0 8px 24px rgb(89 56 202 / 0.35);
}

Ocean Blue
#5938ca  rgb(89, 56, 202)  hsl(254, 58%, 51%)  Ocean Blue
#a9ca38  rgb(169, 202, 56)  hsl(74, 58%, 51%)  Yellow Green
#ca5938  rgb(202, 89, 56)  hsl(14, 58%, 51%)  Flame
#38ca59  rgb(56, 202, 89)  hsl(134, 58%, 51%)  Malachite