#3940CE

#3940ce ≈ Ocean Blue

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

#3940ce 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.1% green and 80.78% blue; printed in CMYK it uses 72.33% cyan, 68.93% magenta, 0% yellow and 19.22% black. Its hue angle is 237.18°, with 60.32% saturation and 51.57% 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.5:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.1.

Description generated from the measured properties of this color.

Conversions of #3940ce 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.0899

Readable text 7.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #4b4d95 ≈ 0.001% of males
Protanopia #005cd2 ≈ 1.01% of males
Deuteranopia #004ecb ≈ 1.27% of males
Tritanopia #006782 ≈ 0.0001% of males
Protanomaly #0052d1 ≈ 1.08% of males
Deuteranomaly #0048cc ≈ 4.63% of males
Tritanomaly #005aa6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-3940ce {
  color: #3940ce;
}
Background
.bg-3940ce {
  background-color: #3940ce;
  color: #ffffff;
}
Border
.border-3940ce {
  border: 2px solid #3940ce;
}
CSS variables
:root {
  --color-primary: #3940ce;
  --color-primary-rgb: 57 64 206;
  --color-primary-hsl: 237 60% 52%;
}
Gradient
.gradient-3940ce {
  background: linear-gradient(135deg, #3940ce, #7d39ce);
}
Colored shadow
.shadow-3940ce {
  box-shadow: 0 8px 24px rgb(57 64 206 / 0.35);
}

Ocean Blue
#3940ce  rgb(57, 64, 206)  hsl(237, 60%, 52%)  Ocean Blue
#cec739  rgb(206, 199, 57)  hsl(57, 60%, 52%)  Citrine
#ce3940  rgb(206, 57, 64)  hsl(357, 60%, 52%)  Persian Red
#40ce39  rgb(64, 206, 57)  hsl(117, 60%, 52%)  Lime Green