#5135CD

#5135cd ≈ Ocean Blue

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

#5135cd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 20.78% green and 80.39% blue; printed in CMYK it uses 60.49% cyan, 74.15% magenta, 0% yellow and 19.61% black. Its hue angle is 251.05°, with 60.32% 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.66: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 #5135cd 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.087

Readable text 7.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #524994 ≈ 0.001% of males
Protanopia #0058d1 ≈ 1.01% of males
Deuteranopia #004eca ≈ 1.27% of males
Tritanopia #00607f ≈ 0.0001% of males
Protanomaly #004cd0 ≈ 1.08% of males
Deuteranomaly #0045cb ≈ 4.63% of males
Tritanomaly #2e52a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#5135cd  rgb(81, 53, 205)  hsl(251, 60%, 51%)  Ocean Blue
#b1cd35  rgb(177, 205, 53)  hsl(71, 60%, 51%)  June Bud
#cd5135  rgb(205, 81, 53)  hsl(11, 60%, 51%)  Cinnabar
#35cd51  rgb(53, 205, 81)  hsl(131, 60%, 51%)  Lime Green