#4840C1

#4840c1 ≈ Ocean Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#4840c1 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 28.24% red, 25.1% green and 75.69% blue; printed in CMYK it uses 62.69% cyan, 66.84% magenta, 0% yellow and 24.31% black. Its hue angle is 243.72°, with 50.99% saturation and 50.39% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 7.56:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 1.97.

Description generated from the measured properties of this color.

Conversions of #4840c1 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3333cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0889

Readable text 7.56:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.78:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #504d8d ≈ 0.001% of males
Protanopia #0059c5 ≈ 1.01% of males
Deuteranopia #004fbf ≈ 1.27% of males
Tritanopia #00627b ≈ 0.0001% of males
Protanomaly #0050c3 ≈ 1.08% of males
Deuteranomaly #0049c0 ≈ 4.63% of males
Tritanomaly #21569c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4840c1 {
  color: #4840c1;
}
Background
.bg-4840c1 {
  background-color: #4840c1;
  color: #ffffff;
}
Border
.border-4840c1 {
  border: 2px solid #4840c1;
}
CSS variables
:root {
  --color-primary: #4840c1;
  --color-primary-rgb: 72 64 193;
  --color-primary-hsl: 244 51% 50%;
}
Gradient
.gradient-4840c1 {
  background: linear-gradient(135deg, #4840c1, #8840c1);
}
Colored shadow
.shadow-4840c1 {
  box-shadow: 0 8px 24px rgb(72 64 193 / 0.35);
}

Ocean Blue
#4840c1  rgb(72, 64, 193)  hsl(244, 51%, 50%)  Ocean Blue
#b9c140  rgb(185, 193, 64)  hsl(64, 51%, 50%)  June Bud
#c14840  rgb(193, 72, 64)  hsl(4, 51%, 50%)  Persian Red
#40c148  rgb(64, 193, 72)  hsl(124, 51%, 50%)  Lime Green