#335FD2

#335fd2 ≈ Royal Blue

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

#335fd2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 37.25% green and 82.35% blue; printed in CMYK it uses 75.71% cyan, 54.76% magenta, 0% yellow and 17.65% black. Its hue angle is 223.4°, 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.66:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.1.

Description generated from the measured properties of this color.

Conversions of #335fd2 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.1354

Readable text 5.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.71:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #57649d ≈ 0.001% of males
Protanopia #006fd6 ≈ 1.01% of males
Deuteranopia #0060d0 ≈ 1.27% of males
Tritanopia #007b8f ≈ 0.0001% of males
Protanomaly #1869d4 ≈ 1.08% of males
Deuteranomaly #0060d1 ≈ 4.63% of males
Tritanomaly #0071ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Blue
#335fd2  rgb(51, 95, 210)  hsl(223, 64%, 51%)  Royal Blue
#d2a633  rgb(210, 166, 51)  hsl(43, 64%, 51%)  Goldenrod
#d2335f  rgb(210, 51, 95)  hsl(343, 64%, 51%)  Cerise
#5fd233  rgb(95, 210, 51)  hsl(103, 64%, 51%)  Lime Green