#0840DD

#0840dd ≈ Persian Blue

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

#0840dd 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 86.67% blue; printed in CMYK it uses 96.38% cyan, 71.04% magenta, 0% yellow and 13.33% black. Its hue angle is 224.23°, with 93.01% saturation and 44.9% 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.53:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 4.65.

Description generated from the measured properties of this color.

Conversions of #0840dd 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.0894

Readable text 7.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #424d9e ≈ 0.001% of males
Protanopia #005ee2 ≈ 1.01% of males
Deuteranopia #004bda ≈ 1.27% of males
Tritanopia #006d8a ≈ 0.0001% of males
Protanomaly #0054e0 ≈ 1.08% of males
Deuteranomaly #0047db ≈ 4.63% of males
Tritanomaly #005eb1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Blue
#0840dd  rgb(8, 64, 221)  hsl(224, 93%, 45%)  Persian Blue
#dda508  rgb(221, 165, 8)  hsl(44, 93%, 45%)  Goldenrod
#dd0840  rgb(221, 8, 64)  hsl(344, 93%, 45%)  Crimson
#40dd08  rgb(64, 221, 8)  hsl(104, 93%, 45%)  Lime Green