#3942CB

#3942cb ≈ Ocean Blue

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

#3942cb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 22.35% red, 25.88% green and 79.61% blue; printed in CMYK it uses 71.92% cyan, 67.49% magenta, 0% yellow and 20.39% black. Its hue angle is 236.3°, with 58.4% saturation and 50.98% 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.46:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.91.

Description generated from the measured properties of this color.

Conversions of #3942cb 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.0908

Readable text 7.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #4b4e93 ≈ 0.001% of males
Protanopia #005ccf ≈ 1.01% of males
Deuteranopia #004ec8 ≈ 1.27% of males
Tritanopia #006781 ≈ 0.0001% of males
Protanomaly #0053ce ≈ 1.08% of males
Deuteranomaly #004ac9 ≈ 4.63% of males
Tritanomaly #005aa4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-3942cb {
  color: #3942cb;
}
Background
.bg-3942cb {
  background-color: #3942cb;
  color: #ffffff;
}
Border
.border-3942cb {
  border: 2px solid #3942cb;
}
CSS variables
:root {
  --color-primary: #3942cb;
  --color-primary-rgb: 57 66 203;
  --color-primary-hsl: 236 58% 51%;
}
Gradient
.gradient-3942cb {
  background: linear-gradient(135deg, #3942cb, #7939cb);
}
Colored shadow
.shadow-3942cb {
  box-shadow: 0 8px 24px rgb(57 66 203 / 0.35);
}

Ocean Blue
#3942cb  rgb(57, 66, 203)  hsl(236, 58%, 51%)  Ocean Blue
#cbc239  rgb(203, 194, 57)  hsl(56, 58%, 51%)  Old Gold
#cb3942  rgb(203, 57, 66)  hsl(356, 58%, 51%)  Crimson
#42cb39  rgb(66, 203, 57)  hsl(116, 58%, 51%)  Lime Green