#335EC5

#335ec5 ≈ Denim

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

#335ec5 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 36.86% green and 77.25% blue; printed in CMYK it uses 74.11% cyan, 52.28% magenta, 0% yellow and 22.75% black. Its hue angle is 222.33°, with 58.87% saturation and 48.63% 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 5.92:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 3.63.

Description generated from the measured properties of this color.

Conversions of #335ec5 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3366cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1274

Readable text 5.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.55:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #546295 ≈ 0.001% of males
Protanopia #176bc9 ≈ 1.01% of males
Deuteranopia #005ec3 ≈ 1.27% of males
Tritanopia #007788 ≈ 0.0001% of males
Protanomaly #2566c7 ≈ 1.08% of males
Deuteranomaly #065ec4 ≈ 4.63% of males
Tritanomaly #006ea4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-335ec5 {
  color: #335ec5;
}
Background
.bg-335ec5 {
  background-color: #335ec5;
  color: #ffffff;
}
Border
.border-335ec5 {
  border: 2px solid #335ec5;
}
CSS variables
:root {
  --color-primary: #335ec5;
  --color-primary-rgb: 51 94 197;
  --color-primary-hsl: 222 59% 49%;
}
Gradient
.gradient-335ec5 {
  background: linear-gradient(135deg, #335ec5, #5133c5);
}
Colored shadow
.shadow-335ec5 {
  box-shadow: 0 8px 24px rgb(51 94 197 / 0.35);
}

Denim
#335ec5  rgb(51, 94, 197)  hsl(222, 59%, 49%)  Denim
#c59a33  rgb(197, 154, 51)  hsl(42, 59%, 49%)  Goldenrod
#c5335e  rgb(197, 51, 94)  hsl(342, 59%, 49%)  Dogwood Rose
#5ec533  rgb(94, 197, 51)  hsl(102, 59%, 49%)  Kelly Green