#335FF2

#335ff2 ≈ Ultramarine Blue

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

#335ff2 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 94.9% blue; printed in CMYK it uses 78.93% cyan, 60.74% magenta, 0% yellow and 5.1% black. Its hue angle is 226.18°, with 88.02% saturation and 57.45% 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.17:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 2.5.

Description generated from the measured properties of this color.

Conversions of #335ff2 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.153

Readable text 5.17:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #5b68b2 ≈ 0.001% of males
Protanopia #0076f7 ≈ 1.01% of males
Deuteranopia #0064ef ≈ 1.27% of males
Tritanopia #00859f ≈ 0.0001% of males
Protanomaly #006ef5 ≈ 1.08% of males
Deuteranomaly #0062f0 ≈ 4.63% of males
Tritanomaly #0078c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-335ff2 {
  color: #335ff2;
}
Background
.bg-335ff2 {
  background-color: #335ff2;
  color: #ffffff;
}
Border
.border-335ff2 {
  border: 2px solid #335ff2;
}
CSS variables
:root {
  --color-primary: #335ff2;
  --color-primary-rgb: 51 95 242;
  --color-primary-hsl: 226 88% 57%;
}
Gradient
.gradient-335ff2 {
  background: linear-gradient(135deg, #335ff2, #6733f2);
}
Colored shadow
.shadow-335ff2 {
  box-shadow: 0 8px 24px rgb(51 95 242 / 0.35);
}

Ultramarine Blue
#335ff2  rgb(51, 95, 242)  hsl(226, 88%, 57%)  Ultramarine Blue
#f2c633  rgb(242, 198, 51)  hsl(46, 88%, 57%)  Saffron
#f2335f  rgb(242, 51, 95)  hsl(346, 88%, 57%)  Neon Fuchsia
#5ff233  rgb(95, 242, 51)  hsl(106, 88%, 57%)  Neon Green