#4218EA

#4218ea ≈ Ultramarine

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

#4218ea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 25.88% red, 9.41% green and 91.76% blue; printed in CMYK it uses 71.79% cyan, 89.74% magenta, 0% yellow and 8.24% black. Its hue angle is 252°, with 83.33% saturation and 50.59% 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.23:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.2.

Description generated from the measured properties of this color.

Conversions of #4218ea 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.0775

Readable text 8.23:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.55:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #4a3fa5 ≈ 0.001% of males
Protanopia #0057ef ≈ 1.01% of males
Deuteranopia #0046e7 ≈ 1.27% of males
Tritanopia #00638b ≈ 0.0001% of males
Protanomaly #0046ed ≈ 1.08% of males
Deuteranomaly #0038e8 ≈ 4.63% of males
Tritanomaly #004fb9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4218ea {
  color: #4218ea;
}
Background
.bg-4218ea {
  background-color: #4218ea;
  color: #ffffff;
}
Border
.border-4218ea {
  border: 2px solid #4218ea;
}
CSS variables
:root {
  --color-primary: #4218ea;
  --color-primary-rgb: 66 24 234;
  --color-primary-hsl: 252 83% 51%;
}
Gradient
.gradient-4218ea {
  background: linear-gradient(135deg, #4218ea, #ab18ea);
}
Colored shadow
.shadow-4218ea {
  box-shadow: 0 8px 24px rgb(66 24 234 / 0.35);
}

Ultramarine
#4218ea  rgb(66, 24, 234)  hsl(252, 83%, 51%)  Ultramarine
#c0ea18  rgb(192, 234, 24)  hsl(72, 83%, 51%)  Pear
#ea4218  rgb(234, 66, 24)  hsl(12, 83%, 51%)  Ferrari Red
#18ea42  rgb(24, 234, 66)  hsl(132, 83%, 51%)  Malachite