#335ED2

#335ed2 ≈ Royal Blue

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

#335ed2 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 82.35% blue; printed in CMYK it uses 75.71% cyan, 55.24% magenta, 0% yellow and 17.65% black. Its hue angle is 223.77°, with 63.86% saturation and 51.18% 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.72:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.35.

Description generated from the measured properties of this color.

Conversions of #335ed2 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.1336

Readable text 5.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.67:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #56639d ≈ 0.001% of males
Protanopia #006ed6 ≈ 1.01% of males
Deuteranopia #005fd0 ≈ 1.27% of males
Tritanopia #007b8f ≈ 0.0001% of males
Protanomaly #1568d4 ≈ 1.08% of males
Deuteranomaly #005fd1 ≈ 4.63% of males
Tritanomaly #0070ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-335ed2 {
  color: #335ed2;
}
Background
.bg-335ed2 {
  background-color: #335ed2;
  color: #ffffff;
}
Border
.border-335ed2 {
  border: 2px solid #335ed2;
}
CSS variables
:root {
  --color-primary: #335ed2;
  --color-primary-rgb: 51 94 210;
  --color-primary-hsl: 224 64% 51%;
}
Gradient
.gradient-335ed2 {
  background: linear-gradient(135deg, #335ed2, #5733d2);
}
Colored shadow
.shadow-335ed2 {
  box-shadow: 0 8px 24px rgb(51 94 210 / 0.35);
}

Royal Blue
#335ed2  rgb(51, 94, 210)  hsl(224, 64%, 51%)  Royal Blue
#d2a733  rgb(210, 167, 51)  hsl(44, 64%, 51%)  Metallic Gold
#d2335e  rgb(210, 51, 94)  hsl(344, 64%, 51%)  Cerise
#5ed233  rgb(94, 210, 51)  hsl(104, 64%, 51%)  Lime Green