#004DFD

#004dfd ≈ Majorelle Blue

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

#004dfd is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0% red, 30.2% green and 99.22% blue; printed in CMYK it uses 100% cyan, 69.57% magenta, 0% yellow and 0.78% black. Its hue angle is 221.74°, with 100% saturation and 49.61% 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 6.03:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 6.57.

Description generated from the measured properties of this color.

Conversions of #004dfd into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0066ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.124

Readable text 6.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.48:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #4d5bb6 ≈ 0.001% of males
Protanopia #006eff ≈ 1.01% of males
Deuteranopia #0058fa ≈ 1.27% of males
Tritanopia #0080a0 ≈ 0.0001% of males
Protanomaly #0062ff ≈ 1.08% of males
Deuteranomaly #0053fb ≈ 4.63% of males
Tritanomaly #006fcc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-004dfd {
  color: #004dfd;
}
Background
.bg-004dfd {
  background-color: #004dfd;
  color: #ffffff;
}
Border
.border-004dfd {
  border: 2px solid #004dfd;
}
CSS variables
:root {
  --color-primary: #004dfd;
  --color-primary-rgb: 0 77 253;
  --color-primary-hsl: 222 100% 50%;
}
Gradient
.gradient-004dfd {
  background: linear-gradient(135deg, #004dfd, #3200fd);
}
Colored shadow
.shadow-004dfd {
  box-shadow: 0 8px 24px rgb(0 77 253 / 0.35);
}

Majorelle Blue
#004dfd  rgb(0, 77, 253)  hsl(222, 100%, 50%)  Majorelle Blue
#fdb000  rgb(253, 176, 0)  hsl(42, 100%, 50%)  Orange
#fd004d  rgb(253, 0, 77)  hsl(342, 100%, 50%)  Folly
#4dfd00  rgb(77, 253, 0)  hsl(102, 100%, 50%)  Harlequin