#335EC2

#335ec2 ≈ Denim

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

#335ec2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 36.86% green and 76.08% blue; printed in CMYK it uses 73.71% cyan, 51.55% magenta, 0% yellow and 23.92% black. Its hue angle is 221.96°, with 58.37% saturation and 48.04% 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 5.96:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 3.39.

Description generated from the measured properties of this color.

Conversions of #335ec2 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.126

Readable text 5.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.52:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #546193 ≈ 0.001% of males
Protanopia #1d6ac6 ≈ 1.01% of males
Deuteranopia #005dc0 ≈ 1.27% of males
Tritanopia #007687 ≈ 0.0001% of males
Protanomaly #2766c4 ≈ 1.08% of males
Deuteranomaly #0e5ec1 ≈ 4.63% of males
Tritanomaly #006da2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-335ec2 {
  color: #335ec2;
}
Background
.bg-335ec2 {
  background-color: #335ec2;
  color: #ffffff;
}
Border
.border-335ec2 {
  border: 2px solid #335ec2;
}
CSS variables
:root {
  --color-primary: #335ec2;
  --color-primary-rgb: 51 94 194;
  --color-primary-hsl: 222 58% 48%;
}
Gradient
.gradient-335ec2 {
  background: linear-gradient(135deg, #335ec2, #5033c2);
}
Colored shadow
.shadow-335ec2 {
  box-shadow: 0 8px 24px rgb(51 94 194 / 0.35);
}

Denim
#335ec2  rgb(51, 94, 194)  hsl(222, 58%, 48%)  Denim
#c29733  rgb(194, 151, 51)  hsl(42, 58%, 48%)  Dark Goldenrod
#c2335e  rgb(194, 51, 94)  hsl(342, 58%, 48%)  Dogwood Rose
#5ec233  rgb(94, 194, 51)  hsl(102, 58%, 48%)  Kelly Green