#335AFB

#335afb ≈ Ultramarine Blue

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

#335afb is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 35.29% green and 98.43% blue; printed in CMYK it uses 79.68% cyan, 64.14% magenta, 0% yellow and 1.57% black. Its hue angle is 228.3°, with 96.15% saturation and 59.22% 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.25:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.7.

Description generated from the measured properties of this color.

Conversions of #335afb 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.1498

Readable text 5.25:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #5a65b7 ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #0063f8 ≈ 1.27% of males
Tritanopia #0085a3 ≈ 0.0001% of males
Protanomaly #006cfe ≈ 1.08% of males
Deuteranomaly #005ff9 ≈ 4.63% of males
Tritanomaly #0076cc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-335afb {
  color: #335afb;
}
Background
.bg-335afb {
  background-color: #335afb;
  color: #ffffff;
}
Border
.border-335afb {
  border: 2px solid #335afb;
}
CSS variables
:root {
  --color-primary: #335afb;
  --color-primary-rgb: 51 90 251;
  --color-primary-hsl: 228 96% 59%;
}
Gradient
.gradient-335afb {
  background: linear-gradient(135deg, #335afb, #7033fb);
}
Colored shadow
.shadow-335afb {
  box-shadow: 0 8px 24px rgb(51 90 251 / 0.35);
}

Ultramarine Blue
#335afb  rgb(51, 90, 251)  hsl(228, 96%, 59%)  Ultramarine Blue
#fbd433  rgb(251, 212, 51)  hsl(48, 96%, 59%)  Cyber Yellow
#fb335a  rgb(251, 51, 90)  hsl(348, 96%, 59%)  Neon Fuchsia
#5afb33  rgb(90, 251, 51)  hsl(108, 96%, 59%)  Neon Green