#0840DE

#0840de ≈ Persian Blue

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

#0840de 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 87.06% blue; printed in CMYK it uses 96.4% cyan, 71.17% magenta, 0% yellow and 12.94% black. Its hue angle is 224.3°, with 93.04% saturation and 45.1% 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.5:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 4.76.

Description generated from the measured properties of this color.

Conversions of #0840de 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.0899

Readable text 7.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #424d9f ≈ 0.001% of males
Protanopia #005ee3 ≈ 1.01% of males
Deuteranopia #004bdb ≈ 1.27% of males
Tritanopia #006e8b ≈ 0.0001% of males
Protanomaly #0054e1 ≈ 1.08% of males
Deuteranomaly #0047dc ≈ 4.63% of males
Tritanomaly #005fb2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Blue
#0840de  rgb(8, 64, 222)  hsl(224, 93%, 45%)  Persian Blue
#dea608  rgb(222, 166, 8)  hsl(44, 93%, 45%)  Goldenrod
#de0840  rgb(222, 8, 64)  hsl(344, 93%, 45%)  Crimson
#40de08  rgb(64, 222, 8)  hsl(104, 93%, 45%)  Lime Green