#335CBD

#335cbd ≈ Denim

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

#335cbd is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 36.08% green and 74.12% blue; printed in CMYK it uses 73.02% cyan, 51.32% magenta, 0% yellow and 25.88% black. Its hue angle is 222.17°, with 57.5% saturation and 47.06% 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.16:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 3.54.

Description generated from the measured properties of this color.

Conversions of #335cbd 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.1203

Readable text 6.16:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.41:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #535f8f ≈ 0.001% of males
Protanopia #1f68c0 ≈ 1.01% of males
Deuteranopia #005bbb ≈ 1.27% of males
Tritanopia #007383 ≈ 0.0001% of males
Protanomaly #2863bf ≈ 1.08% of males
Deuteranomaly #125cbc ≈ 4.63% of males
Tritanomaly #006b9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-335cbd {
  color: #335cbd;
}
Background
.bg-335cbd {
  background-color: #335cbd;
  color: #ffffff;
}
Border
.border-335cbd {
  border: 2px solid #335cbd;
}
CSS variables
:root {
  --color-primary: #335cbd;
  --color-primary-rgb: 51 92 189;
  --color-primary-hsl: 222 58% 47%;
}
Gradient
.gradient-335cbd {
  background: linear-gradient(135deg, #335cbd, #4f33bd);
}
Colored shadow
.shadow-335cbd {
  box-shadow: 0 8px 24px rgb(51 92 189 / 0.35);
}

Denim
#335cbd  rgb(51, 92, 189)  hsl(222, 58%, 47%)  Denim
#bd9433  rgb(189, 148, 51)  hsl(42, 58%, 47%)  Dark Goldenrod
#bd335c  rgb(189, 51, 92)  hsl(342, 58%, 47%)  Dogwood Rose
#5cbd33  rgb(92, 189, 51)  hsl(102, 58%, 47%)  Kelly Green