#0A42FC

#0a42fc ≈ Majorelle Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#0a42fc is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 3.92% red, 25.88% green and 98.82% blue; printed in CMYK it uses 96.03% cyan, 73.81% magenta, 0% yellow and 1.18% black. Its hue angle is 226.12°, with 97.58% saturation and 51.37% 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 6.57:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 6.78.

Description generated from the measured properties of this color.

Conversions of #0a42fc into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0033ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1099

Readable text 6.57:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.2:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5d5d5d ≈ 0.003% of males
Achromatomaly #4954b4 ≈ 0.001% of males
Protanopia #0068ff ≈ 1.01% of males
Deuteranopia #0052f9 ≈ 1.27% of males
Tritanopia #007a9c ≈ 0.0001% of males
Protanomaly #005bff ≈ 1.08% of males
Deuteranomaly #004cfa ≈ 4.63% of males
Tritanomaly #0068ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0a42fc {
  color: #0a42fc;
}
Background
.bg-0a42fc {
  background-color: #0a42fc;
  color: #ffffff;
}
Border
.border-0a42fc {
  border: 2px solid #0a42fc;
}
CSS variables
:root {
  --color-primary: #0a42fc;
  --color-primary-rgb: 10 66 252;
  --color-primary-hsl: 226 98% 51%;
}
Gradient
.gradient-0a42fc {
  background: linear-gradient(135deg, #0a42fc, #4b0afc);
}
Colored shadow
.shadow-0a42fc {
  box-shadow: 0 8px 24px rgb(10 66 252 / 0.35);
}

Majorelle Blue
#0a42fc  rgb(10, 66, 252)  hsl(226, 98%, 51%)  Majorelle Blue
#fcc40a  rgb(252, 196, 10)  hsl(46, 98%, 51%)  Golden Poppy
#fc0a42  rgb(252, 10, 66)  hsl(346, 98%, 51%)  Folly
#42fc0a  rgb(66, 252, 10)  hsl(106, 98%, 51%)  Harlequin