#336AEC

#336aec ≈ Royal Blue

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

#336aec is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 41.57% green and 92.55% blue; printed in CMYK it uses 78.39% cyan, 55.08% magenta, 0% yellow and 7.45% black. Its hue angle is 222.16°, with 82.96% saturation and 56.27% 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 4.76:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 1.57.

Description generated from the measured properties of this color.

Conversions of #336aec 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.1707

Readable text 4.76:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.41:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #5f6fb1 ≈ 0.001% of males
Protanopia #007cf0 ≈ 1.01% of males
Deuteranopia #006be9 ≈ 1.27% of males
Tritanopia #008aa1 ≈ 0.0001% of males
Protanomaly #0d75ef ≈ 1.08% of males
Deuteranomaly #006aea ≈ 4.63% of males
Tritanomaly #007fc3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-336aec {
  color: #336aec;
}
Background
.bg-336aec {
  background-color: #336aec;
  color: #ffffff;
}
Border
.border-336aec {
  border: 2px solid #336aec;
}
CSS variables
:root {
  --color-primary: #336aec;
  --color-primary-rgb: 51 106 236;
  --color-primary-hsl: 222 83% 56%;
}
Gradient
.gradient-336aec {
  background: linear-gradient(135deg, #336aec, #5833ec);
}
Colored shadow
.shadow-336aec {
  box-shadow: 0 8px 24px rgb(51 106 236 / 0.35);
}

Royal Blue
#336aec  rgb(51, 106, 236)  hsl(222, 83%, 56%)  Royal Blue
#ecb533  rgb(236, 181, 51)  hsl(42, 83%, 56%)  Meat Brown
#ec336a  rgb(236, 51, 106)  hsl(342, 83%, 56%)  Cerise
#6aec33  rgb(106, 236, 51)  hsl(102, 83%, 56%)  Lawn Green