#4142CB

#4142cb ≈ Ocean Blue

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

#4142cb 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 79.61% blue; printed in CMYK it uses 67.98% cyan, 67.49% magenta, 0% yellow and 20.39% black. Its hue angle is 239.57°, with 57.02% saturation and 52.55% 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.33:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.43.

Description generated from the measured properties of this color.

Conversions of #4142cb 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.0933

Readable text 7.33:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.87:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #4e4f94 ≈ 0.001% of males
Protanopia #005ccf ≈ 1.01% of males
Deuteranopia #0050c8 ≈ 1.27% of males
Tritanopia #006781 ≈ 0.0001% of males
Protanomaly #0053ce ≈ 1.08% of males
Deuteranomaly #004bc9 ≈ 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-4142cb {
  color: #4142cb;
}
Background
.bg-4142cb {
  background-color: #4142cb;
  color: #ffffff;
}
Border
.border-4142cb {
  border: 2px solid #4142cb;
}
CSS variables
:root {
  --color-primary: #4142cb;
  --color-primary-rgb: 65 66 203;
  --color-primary-hsl: 240 57% 53%;
}
Gradient
.gradient-4142cb {
  background: linear-gradient(135deg, #4142cb, #8541cb);
}
Colored shadow
.shadow-4142cb {
  box-shadow: 0 8px 24px rgb(65 66 203 / 0.35);
}

Ocean Blue
#4142cb  rgb(65, 66, 203)  hsl(240, 57%, 53%)  Ocean Blue
#cbca41  rgb(203, 202, 65)  hsl(60, 57%, 53%)  Straw
#cb4142  rgb(203, 65, 66)  hsl(360, 57%, 53%)  Persian Red
#42cb41  rgb(66, 203, 65)  hsl(120, 57%, 53%)  Lime Green