#2A64DF

#2a64df ≈ Royal Blue

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

#2a64df is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 16.47% red, 39.22% green and 87.45% blue; printed in CMYK it uses 81.17% cyan, 55.16% magenta, 0% yellow and 12.55% black. Its hue angle is 220.77°, with 73.88% saturation and 51.96% 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 brand accents. White text on this color reaches a contrast ratio of 5.27:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 2.52.

Description generated from the measured properties of this color.

Conversions of #2a64df into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3366cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1493

Readable text 5.27:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.99:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #5969a7 ≈ 0.001% of males
Protanopia #0074e3 ≈ 1.01% of males
Deuteranopia #0064dd ≈ 1.27% of males
Tritanopia #008398 ≈ 0.0001% of males
Protanomaly #046ee2 ≈ 1.08% of males
Deuteranomaly #0064de ≈ 4.63% of males
Tritanomaly #0078b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a64df {
  color: #2a64df;
}
Background
.bg-2a64df {
  background-color: #2a64df;
  color: #ffffff;
}
Border
.border-2a64df {
  border: 2px solid #2a64df;
}
CSS variables
:root {
  --color-primary: #2a64df;
  --color-primary-rgb: 42 100 223;
  --color-primary-hsl: 221 74% 52%;
}
Gradient
.gradient-2a64df {
  background: linear-gradient(135deg, #2a64df, #4a2adf);
}
Colored shadow
.shadow-2a64df {
  box-shadow: 0 8px 24px rgb(42 100 223 / 0.35);
}

Royal Blue
#2a64df  rgb(42, 100, 223)  hsl(221, 74%, 52%)  Royal Blue
#dfa52a  rgb(223, 165, 42)  hsl(41, 74%, 52%)  Goldenrod
#df2a64  rgb(223, 42, 100)  hsl(341, 74%, 52%)  Cerise
#64df2a  rgb(100, 223, 42)  hsl(101, 74%, 52%)  Lime Green