#4340CD

#4340cd ≈ Ocean Blue

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

#4340cd is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 26.27% red, 25.1% green and 80.39% blue; printed in CMYK it uses 67.32% cyan, 68.78% magenta, 0% yellow and 19.61% black. Its hue angle is 241.28°, with 58.51% saturation and 52.75% 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.36:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.53.

Description generated from the measured properties of this color.

Conversions of #4340cd 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.0927

Readable text 7.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #4f4e95 ≈ 0.001% of males
Protanopia #005cd1 ≈ 1.01% of males
Deuteranopia #004fca ≈ 1.27% of males
Tritanopia #006681 ≈ 0.0001% of males
Protanomaly #0052d0 ≈ 1.08% of males
Deuteranomaly #004acb ≈ 4.63% of males
Tritanomaly #0059a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4340cd {
  color: #4340cd;
}
Background
.bg-4340cd {
  background-color: #4340cd;
  color: #ffffff;
}
Border
.border-4340cd {
  border: 2px solid #4340cd;
}
CSS variables
:root {
  --color-primary: #4340cd;
  --color-primary-rgb: 67 64 205;
  --color-primary-hsl: 241 59% 53%;
}
Gradient
.gradient-4340cd {
  background: linear-gradient(135deg, #4340cd, #8a40cd);
}
Colored shadow
.shadow-4340cd {
  box-shadow: 0 8px 24px rgb(67 64 205 / 0.35);
}

Ocean Blue
#4340cd  rgb(67, 64, 205)  hsl(241, 59%, 53%)  Ocean Blue
#cacd40  rgb(202, 205, 64)  hsl(61, 59%, 53%)  Pear
#cd4340  rgb(205, 67, 64)  hsl(1, 59%, 53%)  Persian Red
#40cd43  rgb(64, 205, 67)  hsl(121, 59%, 53%)  Lime Green