#335EEA

#335eea ≈ Ultramarine Blue

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

#335eea 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 91.76% blue; printed in CMYK it uses 78.21% cyan, 59.83% magenta, 0% yellow and 8.24% black. Its hue angle is 225.9°, with 81.33% saturation and 55.88% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.34:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.3.

Description generated from the measured properties of this color.

Conversions of #335eea into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3366ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1465

Readable text 5.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.93:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #5a66ad ≈ 0.001% of males
Protanopia #0074ef ≈ 1.01% of males
Deuteranopia #0063e7 ≈ 1.27% of males
Tritanopia #00829b ≈ 0.0001% of males
Protanomaly #006ced ≈ 1.08% of males
Deuteranomaly #0061e8 ≈ 4.63% of males
Tritanomaly #0075c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-335eea {
  color: #335eea;
}
Background
.bg-335eea {
  background-color: #335eea;
  color: #ffffff;
}
Border
.border-335eea {
  border: 2px solid #335eea;
}
CSS variables
:root {
  --color-primary: #335eea;
  --color-primary-rgb: 51 94 234;
  --color-primary-hsl: 226 81% 56%;
}
Gradient
.gradient-335eea {
  background: linear-gradient(135deg, #335eea, #6333ea);
}
Colored shadow
.shadow-335eea {
  box-shadow: 0 8px 24px rgb(51 94 234 / 0.35);
}

Ultramarine Blue
#335eea  rgb(51, 94, 234)  hsl(226, 81%, 56%)  Ultramarine Blue
#eabf33  rgb(234, 191, 51)  hsl(46, 81%, 56%)  Saffron
#ea335e  rgb(234, 51, 94)  hsl(346, 81%, 56%)  Amaranth
#5eea33  rgb(94, 234, 51)  hsl(106, 81%, 56%)  Neon Green