#4007EA

#4007ea ≈ Ultramarine

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

#4007ea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 25.1% red, 2.75% green and 91.76% blue; printed in CMYK it uses 72.65% cyan, 97.01% magenta, 0% yellow and 8.24% black. Its hue angle is 255.07°, with 94.19% saturation and 47.25% 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.62:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.41.

Description generated from the measured properties of this color.

Conversions of #4007ea 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.0718

Readable text 8.62:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.44:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #473ba4 ≈ 0.001% of males
Protanopia #0054ef ≈ 1.01% of males
Deuteranopia #0042e7 ≈ 1.27% of males
Tritanopia #006189 ≈ 0.0001% of males
Protanomaly #0042ed ≈ 1.08% of males
Deuteranomaly #0034e8 ≈ 4.63% of males
Tritanomaly #004cb8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4007ea {
  color: #4007ea;
}
Background
.bg-4007ea {
  background-color: #4007ea;
  color: #ffffff;
}
Border
.border-4007ea {
  border: 2px solid #4007ea;
}
CSS variables
:root {
  --color-primary: #4007ea;
  --color-primary-rgb: 64 7 234;
  --color-primary-hsl: 255 94% 47%;
}
Gradient
.gradient-4007ea {
  background: linear-gradient(135deg, #4007ea, #b107ea);
}
Colored shadow
.shadow-4007ea {
  box-shadow: 0 8px 24px rgb(64 7 234 / 0.35);
}

Ultramarine
#4007ea  rgb(64, 7, 234)  hsl(255, 94%, 47%)  Ultramarine
#b1ea07  rgb(177, 234, 7)  hsl(75, 94%, 47%)  Spring Bud
#ea4007  rgb(234, 64, 7)  hsl(15, 94%, 47%)  Coquelicot
#07ea40  rgb(7, 234, 64)  hsl(135, 94%, 47%)  Malachite