#335EE2

#335ee2 ≈ Royal Blue

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

#335ee2 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 88.63% blue; printed in CMYK it uses 77.43% cyan, 58.41% magenta, 0% yellow and 11.37% black. Its hue angle is 225.26°, with 75.11% saturation and 54.31% 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.47:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 3.65.

Description generated from the measured properties of this color.

Conversions of #335ee2 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.142

Readable text 5.47:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.84:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #5865a8 ≈ 0.001% of males
Protanopia #0072e6 ≈ 1.01% of males
Deuteranopia #0061df ≈ 1.27% of males
Tritanopia #007f97 ≈ 0.0001% of males
Protanomaly #006ae5 ≈ 1.08% of males
Deuteranomaly #0060e0 ≈ 4.63% of males
Tritanomaly #0074ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-335ee2 {
  color: #335ee2;
}
Background
.bg-335ee2 {
  background-color: #335ee2;
  color: #ffffff;
}
Border
.border-335ee2 {
  border: 2px solid #335ee2;
}
CSS variables
:root {
  --color-primary: #335ee2;
  --color-primary-rgb: 51 94 226;
  --color-primary-hsl: 225 75% 54%;
}
Gradient
.gradient-335ee2 {
  background: linear-gradient(135deg, #335ee2, #5f33e2);
}
Colored shadow
.shadow-335ee2 {
  box-shadow: 0 8px 24px rgb(51 94 226 / 0.35);
}

Royal Blue
#335ee2  rgb(51, 94, 226)  hsl(225, 75%, 54%)  Royal Blue
#e2b733  rgb(226, 183, 51)  hsl(45, 75%, 54%)  Meat Brown
#e2335e  rgb(226, 51, 94)  hsl(345, 75%, 54%)  Cerise
#5ee233  rgb(94, 226, 51)  hsl(105, 75%, 54%)  Lime Green