#4064FA

#4064fa ≈ Ultramarine Blue

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

#4064fa is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 39.22% green and 98.04% blue; printed in CMYK it uses 74.4% cyan, 60% magenta, 0% yellow and 1.96% black. Its hue angle is 228.39°, with 94.9% saturation and 61.57% 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.75:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 0.85.

Description generated from the measured properties of this color.

Conversions of #4064fa 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.1711

Readable text 4.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #626db9 ≈ 0.001% of males
Protanopia #007cff ≈ 1.01% of males
Deuteranopia #006af7 ≈ 1.27% of males
Tritanopia #008aa6 ≈ 0.0001% of males
Protanomaly #0073fd ≈ 1.08% of males
Deuteranomaly #0068f8 ≈ 4.63% of males
Tritanomaly #007dcd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4064fa {
  color: #4064fa;
}
Background
.bg-4064fa {
  background-color: #4064fa;
  color: #ffffff;
}
Border
.border-4064fa {
  border: 2px solid #4064fa;
}
CSS variables
:root {
  --color-primary: #4064fa;
  --color-primary-rgb: 64 100 250;
  --color-primary-hsl: 228 95% 62%;
}
Gradient
.gradient-4064fa {
  background: linear-gradient(135deg, #4064fa, #7940fa);
}
Colored shadow
.shadow-4064fa {
  box-shadow: 0 8px 24px rgb(64 100 250 / 0.35);
}

Ultramarine Blue
#4064fa  rgb(64, 100, 250)  hsl(228, 95%, 62%)  Ultramarine Blue
#fad640  rgb(250, 214, 64)  hsl(48, 95%, 62%)  Mustard
#fa4064  rgb(250, 64, 100)  hsl(348, 95%, 62%)  Neon Fuchsia
#64fa40  rgb(100, 250, 64)  hsl(108, 95%, 62%)  Neon Green