#4D2EB8

#4d2eb8 ≈ Ocean Blue

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

#4d2eb8 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.2% red, 18.04% green and 72.16% blue; printed in CMYK it uses 58.15% cyan, 75% magenta, 0% yellow and 27.84% black. Its hue angle is 253.48°, with 60% saturation and 45.1% 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.76:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.92.

Description generated from the measured properties of this color.

Conversions of #4d2eb8 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.0699

Readable text 8.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.4:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #4c4185 ≈ 0.001% of males
Protanopia #004fbc ≈ 1.01% of males
Deuteranopia #0046b5 ≈ 1.27% of males
Tritanopia #105571 ≈ 0.0001% of males
Protanomaly #0044ba ≈ 1.08% of males
Deuteranomaly #003eb6 ≈ 4.63% of males
Tritanomaly #334893 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4d2eb8 {
  color: #4d2eb8;
}
Background
.bg-4d2eb8 {
  background-color: #4d2eb8;
  color: #ffffff;
}
Border
.border-4d2eb8 {
  border: 2px solid #4d2eb8;
}
CSS variables
:root {
  --color-primary: #4d2eb8;
  --color-primary-rgb: 77 46 184;
  --color-primary-hsl: 253 60% 45%;
}
Gradient
.gradient-4d2eb8 {
  background: linear-gradient(135deg, #4d2eb8, #922eb8);
}
Colored shadow
.shadow-4d2eb8 {
  box-shadow: 0 8px 24px rgb(77 46 184 / 0.35);
}

Ocean Blue
#4d2eb8  rgb(77, 46, 184)  hsl(253, 60%, 45%)  Ocean Blue
#99b82e  rgb(153, 184, 46)  hsl(73, 60%, 45%)  Apple Green
#b84d2e  rgb(184, 77, 46)  hsl(13, 60%, 45%)  Rust
#2eb84d  rgb(46, 184, 77)  hsl(133, 60%, 45%)  Mantis