#4D2BC7

#4d2bc7 ≈ Ocean Blue

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

#4d2bc7 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.2% red, 16.86% green and 78.04% blue; printed in CMYK it uses 61.31% cyan, 78.39% magenta, 0% yellow and 21.96% black. Its hue angle is 253.08°, with 64.46% saturation and 47.45% 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 8.45:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.71.

Description generated from the measured properties of this color.

Conversions of #4d2bc7 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.0743

Readable text 8.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #4d428f ≈ 0.001% of males
Protanopia #0052cb ≈ 1.01% of males
Deuteranopia #0048c4 ≈ 1.27% of males
Tritanopia #005979 ≈ 0.0001% of males
Protanomaly #0045ca ≈ 1.08% of males
Deuteranomaly #003ec5 ≈ 4.63% of males
Tritanomaly #2a4b9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4d2bc7 {
  color: #4d2bc7;
}
Background
.bg-4d2bc7 {
  background-color: #4d2bc7;
  color: #ffffff;
}
Border
.border-4d2bc7 {
  border: 2px solid #4d2bc7;
}
CSS variables
:root {
  --color-primary: #4d2bc7;
  --color-primary-rgb: 77 43 199;
  --color-primary-hsl: 253 64% 47%;
}
Gradient
.gradient-4d2bc7 {
  background: linear-gradient(135deg, #4d2bc7, #9b2bc7);
}
Colored shadow
.shadow-4d2bc7 {
  box-shadow: 0 8px 24px rgb(77 43 199 / 0.35);
}

Ocean Blue
#4d2bc7  rgb(77, 43, 199)  hsl(253, 64%, 47%)  Ocean Blue
#a5c72b  rgb(165, 199, 43)  hsl(73, 64%, 47%)  Yellow Green
#c74d2b  rgb(199, 77, 43)  hsl(13, 64%, 47%)  Sinopia
#2bc74d  rgb(43, 199, 77)  hsl(133, 64%, 47%)  Lime Green