#2D04FF

#2d04ff ≈ Ultramarine

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#2d04ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 17.65% red, 1.57% green and 100% blue; printed in CMYK it uses 82.35% cyan, 98.43% magenta, 0% yellow and 0% black. Its hue angle is 249.8°, with 100% saturation and 50.78% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 8.16:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.03.

Description generated from the measured properties of this color.

Conversions of #2d04ff 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.0786

Readable text 8.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #443eb2 ≈ 0.001% of males
Protanopia #005aff ≈ 1.01% of males
Deuteranopia #0043fb ≈ 1.27% of males
Tritanopia #006b96 ≈ 0.0001% of males
Protanomaly #0047ff ≈ 1.08% of males
Deuteranomaly #0034fd ≈ 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-2d04ff {
  color: #2d04ff;
}
Background
.bg-2d04ff {
  background-color: #2d04ff;
  color: #ffffff;
}
Border
.border-2d04ff {
  border: 2px solid #2d04ff;
}
CSS variables
:root {
  --color-primary: #2d04ff;
  --color-primary-rgb: 45 4 255;
  --color-primary-hsl: 250 100% 51%;
}
Gradient
.gradient-2d04ff {
  background: linear-gradient(135deg, #2d04ff, #aa04ff);
}
Colored shadow
.shadow-2d04ff {
  box-shadow: 0 8px 24px rgb(45 4 255 / 0.35);
}

Ultramarine
#2d04ff  rgb(45, 4, 255)  hsl(250, 100%, 51%)  Ultramarine
#d6ff04  rgb(214, 255, 4)  hsl(70, 100%, 51%)  Chartreuse Yellow
#ff2d04  rgb(255, 45, 4)  hsl(10, 100%, 51%)  Ferrari Red
#04ff2d  rgb(4, 255, 45)  hsl(130, 100%, 51%)  Lime