#400FFD

#400ffd ≈ Ultramarine

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

#400ffd 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 99.22% blue; printed in CMYK it uses 74.7% cyan, 94.07% magenta, 0% yellow and 0.78% black. Its hue angle is 252.35°, with 98.35% saturation and 52.55% 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.76:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 0.67.

Description generated from the measured properties of this color.

Conversions of #400ffd 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.0852

Readable text 7.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #4c41b2 ≈ 0.001% of males
Protanopia #005cff ≈ 1.01% of males
Deuteranopia #0048f9 ≈ 1.27% of males
Tritanopia #006a95 ≈ 0.0001% of males
Protanomaly #0049ff ≈ 1.08% of males
Deuteranomaly #0039fb ≈ 4.63% of males
Tritanomaly #0054c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#400ffd  rgb(64, 15, 253)  hsl(252, 98%, 53%)  Ultramarine
#ccfd0f  rgb(204, 253, 15)  hsl(72, 98%, 53%)  Electric Lime
#fd400f  rgb(253, 64, 15)  hsl(12, 98%, 53%)  Coquelicot
#0ffd40  rgb(15, 253, 64)  hsl(132, 98%, 53%)  Lime