#335EFE

#335efe ≈ Ultramarine Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#335efe is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 36.86% green and 99.61% blue; printed in CMYK it uses 79.92% cyan, 62.99% magenta, 0% yellow and 0.39% black. Its hue angle is 227.29°, with 99.02% saturation and 59.8% 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.03:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 2.56.

Description generated from the measured properties of this color.

Conversions of #335efe 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.1586

Readable text 5.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.17:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #5d69ba ≈ 0.001% of males
Protanopia #0079ff ≈ 1.01% of males
Deuteranopia #0066fb ≈ 1.27% of males
Tritanopia #0088a5 ≈ 0.0001% of males
Protanomaly #006fff ≈ 1.08% of males
Deuteranomaly #0063fc ≈ 4.63% of males
Tritanomaly #007acf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-335efe {
  color: #335efe;
}
Background
.bg-335efe {
  background-color: #335efe;
  color: #ffffff;
}
Border
.border-335efe {
  border: 2px solid #335efe;
}
CSS variables
:root {
  --color-primary: #335efe;
  --color-primary-rgb: 51 94 254;
  --color-primary-hsl: 227 99% 60%;
}
Gradient
.gradient-335efe {
  background: linear-gradient(135deg, #335efe, #6d33fe);
}
Colored shadow
.shadow-335efe {
  box-shadow: 0 8px 24px rgb(51 94 254 / 0.35);
}

Ultramarine Blue
#335efe  rgb(51, 94, 254)  hsl(227, 99%, 60%)  Ultramarine Blue
#fed333  rgb(254, 211, 51)  hsl(47, 99%, 60%)  Cyber Yellow
#fe335e  rgb(254, 51, 94)  hsl(347, 99%, 60%)  Neon Fuchsia
#5efe33  rgb(94, 254, 51)  hsl(107, 99%, 60%)  Neon Green