#335FA5

#335fa5 ≈ Denim

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

#335fa5 is a color from the azure family, with medium lightness and moderate saturation. In the RGB model it is made of 20% red, 37.25% green and 64.71% blue; printed in CMYK it uses 69.09% cyan, 42.42% magenta, 0% yellow and 35.29% black. Its hue angle is 216.84°, with 52.78% saturation and 42.35% 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.32:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 3.02.

Description generated from the measured properties of this color.

Conversions of #335fa5 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.116

Readable text 6.32:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #515f81 ≈ 0.001% of males
Protanopia #3e65a8 ≈ 1.01% of males
Deuteranopia #2c5ba4 ≈ 1.27% of males
Tritanopia #006f7a ≈ 0.0001% of males
Protanomaly #3a63a7 ≈ 1.08% of males
Deuteranomaly #2f5ca4 ≈ 4.63% of males
Tritanomaly #00698d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-335fa5 {
  color: #335fa5;
}
Background
.bg-335fa5 {
  background-color: #335fa5;
  color: #ffffff;
}
Border
.border-335fa5 {
  border: 2px solid #335fa5;
}
CSS variables
:root {
  --color-primary: #335fa5;
  --color-primary-rgb: 51 95 165;
  --color-primary-hsl: 217 53% 42%;
}
Gradient
.gradient-335fa5 {
  background: linear-gradient(135deg, #335fa5, #4033a5);
}
Colored shadow
.shadow-335fa5 {
  box-shadow: 0 8px 24px rgb(51 95 165 / 0.35);
}

Denim
#335fa5  rgb(51, 95, 165)  hsl(217, 53%, 42%)  Denim
#a57933  rgb(165, 121, 51)  hsl(37, 53%, 42%)  Golden Brown
#a5335f  rgb(165, 51, 95)  hsl(337, 53%, 42%)  Jazzberry Jam
#5fa533  rgb(95, 165, 51)  hsl(97, 53%, 42%)  Kelly Green