#4004FF

#4004ff ≈ Ultramarine

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

#4004ff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 25.1% red, 1.57% green and 100% blue; printed in CMYK it uses 74.9% cyan, 98.43% magenta, 0% yellow and 0% black. Its hue angle is 254.34°, with 100% saturation and 50.78% 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.84:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 0.23.

Description generated from the measured properties of this color.

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

Readable text 7.84:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #4b40b3 ≈ 0.001% of males
Protanopia #005cff ≈ 1.01% of males
Deuteranopia #0047fb ≈ 1.27% of males
Tritanopia #006a96 ≈ 0.0001% of males
Protanomaly #0048ff ≈ 1.08% of males
Deuteranomaly #0037fd ≈ 4.63% of males
Tritanomaly #0053c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4004ff {
  color: #4004ff;
}
Background
.bg-4004ff {
  background-color: #4004ff;
  color: #ffffff;
}
Border
.border-4004ff {
  border: 2px solid #4004ff;
}
CSS variables
:root {
  --color-primary: #4004ff;
  --color-primary-rgb: 64 4 255;
  --color-primary-hsl: 254 100% 51%;
}
Gradient
.gradient-4004ff {
  background: linear-gradient(135deg, #4004ff, #bd04ff);
}
Colored shadow
.shadow-4004ff {
  box-shadow: 0 8px 24px rgb(64 4 255 / 0.35);
}

Ultramarine
#4004ff  rgb(64, 4, 255)  hsl(254, 100%, 51%)  Ultramarine
#c3ff04  rgb(195, 255, 4)  hsl(74, 100%, 51%)  Electric Lime
#ff4004  rgb(255, 64, 4)  hsl(14, 100%, 51%)  Coquelicot
#04ff40  rgb(4, 255, 64)  hsl(134, 100%, 51%)  Lime