#0840DA

#0840da ≈ Persian Blue

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

#0840da is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 3.14% red, 25.1% green and 85.49% blue; printed in CMYK it uses 96.33% cyan, 70.64% magenta, 0% yellow and 14.51% black. Its hue angle is 224°, with 92.92% saturation and 44.31% 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 7.62:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 4.31.

Description generated from the measured properties of this color.

Conversions of #0840da into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0033cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0878

Readable text 7.62:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #414c9c ≈ 0.001% of males
Protanopia #005ddf ≈ 1.01% of males
Deuteranopia #004ad7 ≈ 1.27% of males
Tritanopia #006c89 ≈ 0.0001% of males
Protanomaly #0053dd ≈ 1.08% of males
Deuteranomaly #0046d8 ≈ 4.63% of males
Tritanomaly #005eaf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0840da {
  color: #0840da;
}
Background
.bg-0840da {
  background-color: #0840da;
  color: #ffffff;
}
Border
.border-0840da {
  border: 2px solid #0840da;
}
CSS variables
:root {
  --color-primary: #0840da;
  --color-primary-rgb: 8 64 218;
  --color-primary-hsl: 224 93% 44%;
}
Gradient
.gradient-0840da {
  background: linear-gradient(135deg, #0840da, #3908da);
}
Colored shadow
.shadow-0840da {
  box-shadow: 0 8px 24px rgb(8 64 218 / 0.35);
}

Persian Blue
#0840da  rgb(8, 64, 218)  hsl(224, 93%, 44%)  Persian Blue
#daa208  rgb(218, 162, 8)  hsl(44, 93%, 44%)  Goldenrod
#da0840  rgb(218, 8, 64)  hsl(344, 93%, 44%)  Crimson
#40da08  rgb(64, 218, 8)  hsl(104, 93%, 44%)  Lime Green