#5104F4

#5104f4 ≈ Ultramarine

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#5104f4 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 1.57% green and 95.69% blue; printed in CMYK it uses 66.8% cyan, 98.36% magenta, 0% yellow and 4.31% black. Its hue angle is 259.25°, with 96.77% saturation and 48.63% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 7.85:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.49.

Description generated from the measured properties of this color.

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

Readable text 7.85:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #5140ac ≈ 0.001% of males
Protanopia #0059f9 ≈ 1.01% of males
Deuteranopia #0049f1 ≈ 1.27% of males
Tritanopia #00648f ≈ 0.0001% of males
Protanomaly #0046f7 ≈ 1.08% of males
Deuteranomaly #0039f2 ≈ 4.63% of males
Tritanomaly #004fc0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5104f4 {
  color: #5104f4;
}
Background
.bg-5104f4 {
  background-color: #5104f4;
  color: #ffffff;
}
Border
.border-5104f4 {
  border: 2px solid #5104f4;
}
CSS variables
:root {
  --color-primary: #5104f4;
  --color-primary-rgb: 81 4 244;
  --color-primary-hsl: 259 97% 49%;
}
Gradient
.gradient-5104f4 {
  background: linear-gradient(135deg, #5104f4, #c904f4);
}
Colored shadow
.shadow-5104f4 {
  box-shadow: 0 8px 24px rgb(81 4 244 / 0.35);
}

Ultramarine
#5104f4  rgb(81, 4, 244)  hsl(259, 97%, 49%)  Ultramarine
#a7f404  rgb(167, 244, 4)  hsl(79, 97%, 49%)  Spring Bud
#f45104  rgb(244, 81, 4)  hsl(19, 97%, 49%)  Tangelo
#04f451  rgb(4, 244, 81)  hsl(139, 97%, 49%)  Spring Green