#0840DB

#0840db ≈ Persian Blue

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

#0840db 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.88% blue; printed in CMYK it uses 96.35% cyan, 70.78% magenta, 0% yellow and 14.12% black. Its hue angle is 224.08°, with 92.95% saturation and 44.51% 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.59:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 4.42.

Description generated from the measured properties of this color.

Conversions of #0840db 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.0883

Readable text 7.59:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.77:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #424d9d ≈ 0.001% of males
Protanopia #005ee0 ≈ 1.01% of males
Deuteranopia #004ad8 ≈ 1.27% of males
Tritanopia #006d89 ≈ 0.0001% of males
Protanomaly #0053de ≈ 1.08% of males
Deuteranomaly #0046d9 ≈ 4.63% of males
Tritanomaly #005eb0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Blue
#0840db  rgb(8, 64, 219)  hsl(224, 93%, 45%)  Persian Blue
#dba308  rgb(219, 163, 8)  hsl(44, 93%, 45%)  Goldenrod
#db0840  rgb(219, 8, 64)  hsl(344, 93%, 45%)  Crimson
#40db08  rgb(64, 219, 8)  hsl(104, 93%, 45%)  Lime Green