#335CD9

#335cd9 ≈ Royal Blue

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

#335cd9 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 36.08% green and 85.1% blue; printed in CMYK it uses 76.5% cyan, 57.6% magenta, 0% yellow and 14.9% black. Its hue angle is 225.18°, with 68.6% saturation and 52.55% 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.52.

Description generated from the measured properties of this color.

Conversions of #335cd9 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.1337

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 #5662a1 ≈ 0.001% of males
Protanopia #006edd ≈ 1.01% of males
Deuteranopia #005fd7 ≈ 1.27% of males
Tritanopia #007b91 ≈ 0.0001% of males
Protanomaly #0067dc ≈ 1.08% of males
Deuteranomaly #005ed8 ≈ 4.63% of males
Tritanomaly #0070b3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-335cd9 {
  color: #335cd9;
}
Background
.bg-335cd9 {
  background-color: #335cd9;
  color: #ffffff;
}
Border
.border-335cd9 {
  border: 2px solid #335cd9;
}
CSS variables
:root {
  --color-primary: #335cd9;
  --color-primary-rgb: 51 92 217;
  --color-primary-hsl: 225 69% 53%;
}
Gradient
.gradient-335cd9 {
  background: linear-gradient(135deg, #335cd9, #5d33d9);
}
Colored shadow
.shadow-335cd9 {
  box-shadow: 0 8px 24px rgb(51 92 217 / 0.35);
}

Royal Blue
#335cd9  rgb(51, 92, 217)  hsl(225, 69%, 53%)  Royal Blue
#d9b033  rgb(217, 176, 51)  hsl(45, 69%, 53%)  Metallic Gold
#d9335c  rgb(217, 51, 92)  hsl(345, 69%, 53%)  Cerise
#5cd933  rgb(92, 217, 51)  hsl(105, 69%, 53%)  Lime Green