#335DB5

#335db5 ≈ Denim

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

#335db5 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 36.47% green and 70.98% blue; printed in CMYK it uses 71.82% cyan, 48.62% magenta, 0% yellow and 29.02% black. Its hue angle is 220.62°, with 56.03% saturation and 45.49% 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 6.22:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 2.99.

Description generated from the measured properties of this color.

Conversions of #335db5 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.1187

Readable text 6.22:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #525f8a ≈ 0.001% of males
Protanopia #2c67b8 ≈ 1.01% of males
Deuteranopia #035bb3 ≈ 1.27% of males
Tritanopia #007280 ≈ 0.0001% of males
Protanomaly #2f63b7 ≈ 1.08% of males
Deuteranomaly #1f5cb4 ≈ 4.63% of males
Tritanomaly #006a98 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-335db5 {
  color: #335db5;
}
Background
.bg-335db5 {
  background-color: #335db5;
  color: #ffffff;
}
Border
.border-335db5 {
  border: 2px solid #335db5;
}
CSS variables
:root {
  --color-primary: #335db5;
  --color-primary-rgb: 51 93 181;
  --color-primary-hsl: 221 56% 45%;
}
Gradient
.gradient-335db5 {
  background: linear-gradient(135deg, #335db5, #4a33b5);
}
Colored shadow
.shadow-335db5 {
  box-shadow: 0 8px 24px rgb(51 93 181 / 0.35);
}

Denim
#335db5  rgb(51, 93, 181)  hsl(221, 56%, 45%)  Denim
#b58b33  rgb(181, 139, 51)  hsl(41, 56%, 45%)  Dark Goldenrod
#b5335d  rgb(181, 51, 93)  hsl(341, 56%, 45%)  Dogwood Rose
#5db533  rgb(93, 181, 51)  hsl(101, 56%, 45%)  Kelly Green