#0504E8

#0504e8 ≈ Blue

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

#0504e8 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 90.98% blue; printed in CMYK it uses 97.84% cyan, 98.28% magenta, 0% yellow and 9.02% black. Its hue angle is 240.26°, with 96.61% saturation and 46.27% 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 9.59:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.78.

Description generated from the measured properties of this color.

Conversions of #0504e8 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.0595

Readable text 9.59:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #454545 ≈ 0.003% of males
Achromatomaly #3635a1 ≈ 0.001% of males
Protanopia #0050ed ≈ 1.01% of males
Deuteranopia #0038e5 ≈ 1.27% of males
Tritanopia #006188 ≈ 0.0001% of males
Protanomaly #003feb ≈ 1.08% of males
Deuteranomaly #002be6 ≈ 4.63% of males
Tritanomaly #004cb6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#0504e8  rgb(5, 4, 232)  hsl(240, 97%, 46%)  Blue
#e7e804  rgb(231, 232, 4)  hsl(60, 97%, 46%)  Titanium Yellow
#e80504  rgb(232, 5, 4)  hsl(0, 97%, 46%)  Lust
#04e805  rgb(4, 232, 5)  hsl(120, 97%, 46%)  Lime