#336AFF

#336aff ≈ Ultramarine Blue

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

#336aff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 41.57% green and 100% blue; printed in CMYK it uses 80% cyan, 58.43% magenta, 0% yellow and 0% black. Its hue angle is 223.82°, with 100% saturation and 60% 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. Black text on this color reaches a contrast ratio of 4.65:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 2.03.

Description generated from the measured properties of this color.

Conversions of #336aff 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.1823

Readable text 4.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #6272bd ≈ 0.001% of males
Protanopia #0080ff ≈ 1.01% of males
Deuteranopia #006dfc ≈ 1.27% of males
Tritanopia #0090aa ≈ 0.0001% of males
Protanomaly #0078ff ≈ 1.08% of males
Deuteranomaly #006cfd ≈ 4.63% of males
Tritanomaly #0083d2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-336aff {
  color: #336aff;
}
Background
.bg-336aff {
  background-color: #336aff;
  color: #000000;
}
Border
.border-336aff {
  border: 2px solid #336aff;
}
CSS variables
:root {
  --color-primary: #336aff;
  --color-primary-rgb: 51 106 255;
  --color-primary-hsl: 224 100% 60%;
}
Gradient
.gradient-336aff {
  background: linear-gradient(135deg, #336aff, #6233ff);
}
Colored shadow
.shadow-336aff {
  box-shadow: 0 8px 24px rgb(51 106 255 / 0.35);
}

Ultramarine Blue
#336aff  rgb(51, 106, 255)  hsl(224, 100%, 60%)  Ultramarine Blue
#ffc833  rgb(255, 200, 51)  hsl(44, 100%, 60%)  Sunglow
#ff336a  rgb(255, 51, 106)  hsl(344, 100%, 60%)  Neon Fuchsia
#6aff33  rgb(106, 255, 51)  hsl(104, 100%, 60%)  Harlequin