#0504FA

#0504fa ≈ Blue

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

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

Description generated from the measured properties of this color.

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

Readable text 8.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.4:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #3a3aae ≈ 0.001% of males
Protanopia #0057ff ≈ 1.01% of males
Deuteranopia #003df7 ≈ 1.27% of males
Tritanopia #006993 ≈ 0.0001% of males
Protanomaly #0044fd ≈ 1.08% of males
Deuteranomaly #002ff8 ≈ 4.63% of males
Tritanomaly #0053c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#0504fa  rgb(5, 4, 250)  hsl(240, 97%, 50%)  Blue
#f9fa04  rgb(249, 250, 4)  hsl(60, 97%, 50%)  Yellow
#fa0504  rgb(250, 5, 4)  hsl(0, 97%, 50%)  Red
#04fa05  rgb(4, 250, 5)  hsl(120, 97%, 50%)  Lime