#336AFE

#336afe ≈ Ultramarine Blue

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

#336afe 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 99.61% blue; printed in CMYK it uses 79.92% cyan, 58.27% magenta, 0% yellow and 0.39% black. Its hue angle is 223.74°, 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. Black text on this color reaches a contrast ratio of 4.63:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 1.99.

Description generated from the measured properties of this color.

Conversions of #336afe 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.1817

Readable text 4.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #6271bc ≈ 0.001% of males
Protanopia #0080ff ≈ 1.01% of males
Deuteranopia #006dfb ≈ 1.27% of males
Tritanopia #0090aa ≈ 0.0001% of males
Protanomaly #0078ff ≈ 1.08% of males
Deuteranomaly #006cfc ≈ 4.63% of males
Tritanomaly #0082d1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine Blue
#336afe  rgb(51, 106, 254)  hsl(224, 99%, 60%)  Ultramarine Blue
#fec733  rgb(254, 199, 51)  hsl(44, 99%, 60%)  Sunglow
#fe336a  rgb(254, 51, 106)  hsl(344, 99%, 60%)  Neon Fuchsia
#6afe33  rgb(106, 254, 51)  hsl(104, 99%, 60%)  Harlequin