#4062FC

#4062fc ≈ Ultramarine Blue

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

#4062fc 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.82% blue; printed in CMYK it uses 74.6% cyan, 61.11% magenta, 0% yellow and 1.18% black. Its hue angle is 229.15°, with 96.91% saturation and 61.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 call-to-action buttons. White text on this color reaches a contrast ratio of 4.8:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 1.49.

Description generated from the measured properties of this color.

Conversions of #4062fc 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.1685

Readable text 4.8:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #626cba ≈ 0.001% of males
Protanopia #007bff ≈ 1.01% of males
Deuteranopia #0069f9 ≈ 1.27% of males
Tritanopia #008aa6 ≈ 0.0001% of males
Protanomaly #0072ff ≈ 1.08% of males
Deuteranomaly #0067fa ≈ 4.63% of males
Tritanomaly #007cce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine Blue
#4062fc  rgb(64, 98, 252)  hsl(229, 97%, 62%)  Ultramarine Blue
#fcda40  rgb(252, 218, 64)  hsl(49, 97%, 62%)  Banana Yellow
#fc4062  rgb(252, 64, 98)  hsl(349, 97%, 62%)  Neon Fuchsia
#62fc40  rgb(98, 252, 64)  hsl(109, 97%, 62%)  Neon Green