#2D02FF

#2d02ff ≈ Ultramarine

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

#2d02ff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 17.65% red, 0.78% green and 100% blue; printed in CMYK it uses 82.35% cyan, 99.22% magenta, 0% yellow and 0% black. Its hue angle is 250.2°, with 100% saturation and 50.39% 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.19:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.05.

Description generated from the measured properties of this color.

Conversions of #2d02ff 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.0782

Readable text 8.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #443db2 ≈ 0.001% of males
Protanopia #005aff ≈ 1.01% of males
Deuteranopia #0042fb ≈ 1.27% of males
Tritanopia #006b96 ≈ 0.0001% of males
Protanomaly #0046ff ≈ 1.08% of males
Deuteranomaly #0033fd ≈ 4.63% of males
Tritanomaly #0054c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d02ff {
  color: #2d02ff;
}
Background
.bg-2d02ff {
  background-color: #2d02ff;
  color: #ffffff;
}
Border
.border-2d02ff {
  border: 2px solid #2d02ff;
}
CSS variables
:root {
  --color-primary: #2d02ff;
  --color-primary-rgb: 45 2 255;
  --color-primary-hsl: 250 100% 50%;
}
Gradient
.gradient-2d02ff {
  background: linear-gradient(135deg, #2d02ff, #ac02ff);
}
Colored shadow
.shadow-2d02ff {
  box-shadow: 0 8px 24px rgb(45 2 255 / 0.35);
}

Ultramarine
#2d02ff  rgb(45, 2, 255)  hsl(250, 100%, 50%)  Ultramarine
#d4ff02  rgb(212, 255, 2)  hsl(70, 100%, 50%)  Electric Lime
#ff2d02  rgb(255, 45, 2)  hsl(10, 100%, 50%)  Ferrari Red
#02ff2d  rgb(2, 255, 45)  hsl(130, 100%, 50%)  Lime