#400BF2

#400bf2 ≈ Ultramarine

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

#400bf2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 25.1% red, 4.31% green and 94.9% blue; printed in CMYK it uses 73.55% cyan, 95.45% magenta, 0% yellow and 5.1% black. Its hue angle is 253.77°, with 91.3% saturation and 49.61% 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.24:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.38.

Description generated from the measured properties of this color.

Conversions of #400bf2 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.0774

Readable text 8.24: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 #493eaa ≈ 0.001% of males
Protanopia #0058f7 ≈ 1.01% of males
Deuteranopia #0045ef ≈ 1.27% of males
Tritanopia #00658e ≈ 0.0001% of males
Protanomaly #0045f5 ≈ 1.08% of males
Deuteranomaly #0036f0 ≈ 4.63% of males
Tritanomaly #0050bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-400bf2 {
  color: #400bf2;
}
Background
.bg-400bf2 {
  background-color: #400bf2;
  color: #ffffff;
}
Border
.border-400bf2 {
  border: 2px solid #400bf2;
}
CSS variables
:root {
  --color-primary: #400bf2;
  --color-primary-rgb: 64 11 242;
  --color-primary-hsl: 254 91% 50%;
}
Gradient
.gradient-400bf2 {
  background: linear-gradient(135deg, #400bf2, #b40bf2);
}
Colored shadow
.shadow-400bf2 {
  box-shadow: 0 8px 24px rgb(64 11 242 / 0.35);
}

Ultramarine
#400bf2  rgb(64, 11, 242)  hsl(254, 91%, 50%)  Ultramarine
#bdf20b  rgb(189, 242, 11)  hsl(74, 91%, 50%)  Electric Lime
#f2400b  rgb(242, 64, 11)  hsl(14, 91%, 50%)  Coquelicot
#0bf240  rgb(11, 242, 64)  hsl(134, 91%, 50%)  Lime