#4142CE

#4142ce ≈ Ocean Blue

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

#4142ce is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.49% red, 25.88% green and 80.78% blue; printed in CMYK it uses 68.45% cyan, 67.96% magenta, 0% yellow and 19.22% black. Its hue angle is 239.57°, with 59% saturation and 53.14% 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.25:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.74.

Description generated from the measured properties of this color.

Conversions of #4142ce 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.0948

Readable text 7.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.9:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #4f4f96 ≈ 0.001% of males
Protanopia #005dd2 ≈ 1.01% of males
Deuteranopia #0050cb ≈ 1.27% of males
Tritanopia #006883 ≈ 0.0001% of males
Protanomaly #0054d1 ≈ 1.08% of males
Deuteranomaly #004bcc ≈ 4.63% of males
Tritanomaly #005ba6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4142ce {
  color: #4142ce;
}
Background
.bg-4142ce {
  background-color: #4142ce;
  color: #ffffff;
}
Border
.border-4142ce {
  border: 2px solid #4142ce;
}
CSS variables
:root {
  --color-primary: #4142ce;
  --color-primary-rgb: 65 66 206;
  --color-primary-hsl: 240 59% 53%;
}
Gradient
.gradient-4142ce {
  background: linear-gradient(135deg, #4142ce, #8641ce);
}
Colored shadow
.shadow-4142ce {
  box-shadow: 0 8px 24px rgb(65 66 206 / 0.35);
}

Ocean Blue
#4142ce  rgb(65, 66, 206)  hsl(240, 59%, 53%)  Ocean Blue
#cecd41  rgb(206, 205, 65)  hsl(60, 59%, 53%)  Straw
#ce4142  rgb(206, 65, 66)  hsl(360, 59%, 53%)  Persian Red
#42ce41  rgb(66, 206, 65)  hsl(120, 59%, 53%)  Lime Green