#335BA2

#335ba2 ≈ Denim

  • azure
  • Lightness: medium
  • Saturation: moderate
  • Cool

#335ba2 is a color from the azure family, with medium lightness and moderate saturation. In the RGB model it is made of 20% red, 35.69% green and 63.53% blue; printed in CMYK it uses 68.52% cyan, 43.83% magenta, 0% yellow and 36.47% black. Its hue angle is 218.38°, with 52.11% saturation and 41.76% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 6.65:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 4.

Description generated from the measured properties of this color.

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

Readable text 6.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.16:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #4f5c7e ≈ 0.001% of males
Protanopia #3962a5 ≈ 1.01% of males
Deuteranopia #2658a1 ≈ 1.27% of males
Tritanopia #006b76 ≈ 0.0001% of males
Protanomaly #375fa4 ≈ 1.08% of males
Deuteranomaly #2c59a1 ≈ 4.63% of males
Tritanomaly #00658a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-335ba2 {
  color: #335ba2;
}
Background
.bg-335ba2 {
  background-color: #335ba2;
  color: #ffffff;
}
Border
.border-335ba2 {
  border: 2px solid #335ba2;
}
CSS variables
:root {
  --color-primary: #335ba2;
  --color-primary-rgb: 51 91 162;
  --color-primary-hsl: 218 52% 42%;
}
Gradient
.gradient-335ba2 {
  background: linear-gradient(135deg, #335ba2, #4233a2);
}
Colored shadow
.shadow-335ba2 {
  box-shadow: 0 8px 24px rgb(51 91 162 / 0.35);
}

Denim
#335ba2  rgb(51, 91, 162)  hsl(218, 52%, 42%)  Denim
#a27a33  rgb(162, 122, 51)  hsl(38, 52%, 42%)  Dark Goldenrod
#a2335b  rgb(162, 51, 91)  hsl(338, 52%, 42%)  Jazzberry Jam
#5ba233  rgb(91, 162, 51)  hsl(98, 52%, 42%)  Olive Drab