#400FF7

#400ff7 ≈ Ultramarine

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

#400ff7 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 96.86% blue; printed in CMYK it uses 74.09% cyan, 93.93% magenta, 0% yellow and 3.14% black. Its hue angle is 252.67°, with 93.55% saturation and 51.37% 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.99:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 0.86.

Description generated from the measured properties of this color.

Conversions of #400ff7 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.0815

Readable text 7.99:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #4a40ae ≈ 0.001% of males
Protanopia #005afd ≈ 1.01% of males
Deuteranopia #0046f4 ≈ 1.27% of males
Tritanopia #006892 ≈ 0.0001% of males
Protanomaly #0047fa ≈ 1.08% of males
Deuteranomaly #0038f5 ≈ 4.63% of males
Tritanomaly #0052c3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#400ff7  rgb(64, 15, 247)  hsl(253, 94%, 51%)  Ultramarine
#c6f70f  rgb(198, 247, 15)  hsl(73, 94%, 51%)  Electric Lime
#f7400f  rgb(247, 64, 15)  hsl(13, 94%, 51%)  Coquelicot
#0ff740  rgb(15, 247, 64)  hsl(133, 94%, 51%)  Lime