#335CBA

#335cba ≈ Denim

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

#335cba 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 72.94% blue; printed in CMYK it uses 72.58% cyan, 50.54% magenta, 0% yellow and 27.06% black. Its hue angle is 221.78°, with 56.96% saturation and 46.47% 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.21:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 3.4.

Description generated from the measured properties of this color.

Conversions of #335cba 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.119

Readable text 6.21:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #525f8d ≈ 0.001% of males
Protanopia #2367bd ≈ 1.01% of males
Deuteranopia #005bb8 ≈ 1.27% of males
Tritanopia #007282 ≈ 0.0001% of males
Protanomaly #2a63bc ≈ 1.08% of males
Deuteranomaly #175bb9 ≈ 4.63% of males
Tritanomaly #006a9c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Denim
#335cba  rgb(51, 92, 186)  hsl(222, 57%, 46%)  Denim
#ba9133  rgb(186, 145, 51)  hsl(42, 57%, 46%)  Dark Goldenrod
#ba335c  rgb(186, 51, 92)  hsl(342, 57%, 46%)  Dogwood Rose
#5cba33  rgb(92, 186, 51)  hsl(102, 57%, 46%)  Kelly Green