#400FF4

#400ff4 ≈ Ultramarine

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

#400ff4 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 25.1% red, 5.88% green and 95.69% blue; printed in CMYK it uses 73.77% cyan, 93.85% magenta, 0% yellow and 4.31% black. Its hue angle is 252.84°, with 91.24% 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 8.1:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.14.

Description generated from the measured properties of this color.

Conversions of #400ff4 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.0796

Readable text 8.1:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.59:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #4a3fab ≈ 0.001% of males
Protanopia #0059f9 ≈ 1.01% of males
Deuteranopia #0046f1 ≈ 1.27% of males
Tritanopia #006690 ≈ 0.0001% of males
Protanomaly #0046f7 ≈ 1.08% of males
Deuteranomaly #0037f2 ≈ 4.63% of males
Tritanomaly #0051c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-400ff4 {
  color: #400ff4;
}
Background
.bg-400ff4 {
  background-color: #400ff4;
  color: #ffffff;
}
Border
.border-400ff4 {
  border: 2px solid #400ff4;
}
CSS variables
:root {
  --color-primary: #400ff4;
  --color-primary-rgb: 64 15 244;
  --color-primary-hsl: 253 91% 51%;
}
Gradient
.gradient-400ff4 {
  background: linear-gradient(135deg, #400ff4, #b30ff4);
}
Colored shadow
.shadow-400ff4 {
  box-shadow: 0 8px 24px rgb(64 15 244 / 0.35);
}

Ultramarine
#400ff4  rgb(64, 15, 244)  hsl(253, 91%, 51%)  Ultramarine
#c3f40f  rgb(195, 244, 15)  hsl(73, 91%, 51%)  Electric Lime
#f4400f  rgb(244, 64, 15)  hsl(13, 91%, 51%)  Coquelicot
#0ff440  rgb(15, 244, 64)  hsl(133, 91%, 51%)  Lime