#4012EA

#4012ea ≈ Ultramarine

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

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

Description generated from the measured properties of this color.

Conversions of #4012ea 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.0746

Readable text 8.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #483da5 ≈ 0.001% of males
Protanopia #0056ef ≈ 1.01% of males
Deuteranopia #0044e7 ≈ 1.27% of males
Tritanopia #00628a ≈ 0.0001% of males
Protanomaly #0044ed ≈ 1.08% of males
Deuteranomaly #0036e8 ≈ 4.63% of males
Tritanomaly #004eb8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine
#4012ea  rgb(64, 18, 234)  hsl(253, 86%, 49%)  Ultramarine
#bcea12  rgb(188, 234, 18)  hsl(73, 86%, 49%)  Electric Lime
#ea4012  rgb(234, 64, 18)  hsl(13, 86%, 49%)  Ferrari Red
#12ea40  rgb(18, 234, 64)  hsl(133, 86%, 49%)  Malachite