#2004FA

#2004fa ≈ Blue

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

#2004fa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.55% red, 1.57% green and 98.04% blue; printed in CMYK it uses 87.2% cyan, 98.4% magenta, 0% yellow and 1.96% black. Its hue angle is 246.83°, with 96.85% saturation and 49.8% 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.54:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 0.63.

Description generated from the measured properties of this color.

Conversions of #2004fa 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.073

Readable text 8.54:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #3f3baf ≈ 0.001% of males
Protanopia #0058ff ≈ 1.01% of males
Deuteranopia #003ff7 ≈ 1.27% of males
Tritanopia #006993 ≈ 0.0001% of males
Protanomaly #0045fd ≈ 1.08% of males
Deuteranomaly #0031f8 ≈ 4.63% of males
Tritanomaly #0052c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2004fa {
  color: #2004fa;
}
Background
.bg-2004fa {
  background-color: #2004fa;
  color: #ffffff;
}
Border
.border-2004fa {
  border: 2px solid #2004fa;
}
CSS variables
:root {
  --color-primary: #2004fa;
  --color-primary-rgb: 32 4 250;
  --color-primary-hsl: 247 97% 50%;
}
Gradient
.gradient-2004fa {
  background: linear-gradient(135deg, #2004fa, #9b04fa);
}
Colored shadow
.shadow-2004fa {
  box-shadow: 0 8px 24px rgb(32 4 250 / 0.35);
}

Blue
#2004fa  rgb(32, 4, 250)  hsl(247, 97%, 50%)  Blue
#defa04  rgb(222, 250, 4)  hsl(67, 97%, 50%)  Lemon Lime
#fa2004  rgb(250, 32, 4)  hsl(7, 97%, 50%)  Candy Apple Red
#04fa20  rgb(4, 250, 32)  hsl(127, 97%, 50%)  Lime