#4062FA

#4062fa ≈ Ultramarine Blue

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

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

Description generated from the measured properties of this color.

Conversions of #4062fa 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.1673

Readable text 4.83:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.35:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #626cb9 ≈ 0.001% of males
Protanopia #007bff ≈ 1.01% of males
Deuteranopia #0069f7 ≈ 1.27% of males
Tritanopia #0089a5 ≈ 0.0001% of males
Protanomaly #0072fd ≈ 1.08% of males
Deuteranomaly #0066f8 ≈ 4.63% of males
Tritanomaly #007bcd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine Blue
#4062fa  rgb(64, 98, 250)  hsl(229, 95%, 62%)  Ultramarine Blue
#fad840  rgb(250, 216, 64)  hsl(49, 95%, 62%)  Mustard
#fa4062  rgb(250, 64, 98)  hsl(349, 95%, 62%)  Neon Fuchsia
#62fa40  rgb(98, 250, 64)  hsl(109, 95%, 62%)  Neon Green