#4002EA

#4002ea ≈ Ultramarine

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

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

Description generated from the measured properties of this color.

Conversions of #4002ea 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.0707

Readable text 8.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.41:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #473aa4 ≈ 0.001% of males
Protanopia #0054ef ≈ 1.01% of males
Deuteranopia #0042e7 ≈ 1.27% of males
Tritanopia #006089 ≈ 0.0001% of males
Protanomaly #0041ed ≈ 1.08% of males
Deuteranomaly #0033e8 ≈ 4.63% of males
Tritanomaly #004bb8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#4002ea  rgb(64, 2, 234)  hsl(256, 98%, 46%)  Ultramarine
#acea02  rgb(172, 234, 2)  hsl(76, 98%, 46%)  Spring Bud
#ea4002  rgb(234, 64, 2)  hsl(16, 98%, 46%)  Coquelicot
#02ea40  rgb(2, 234, 64)  hsl(136, 98%, 46%)  Malachite