#0842DC

#0842dc ≈ Persian Blue

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

#0842dc 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.88% green and 86.27% blue; printed in CMYK it uses 96.36% cyan, 70% magenta, 0% yellow and 13.73% black. Its hue angle is 223.58°, with 92.98% saturation and 44.71% 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.44:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 4.8.

Description generated from the measured properties of this color.

Conversions of #0842dc 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.0912

Readable text 7.44:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #434e9e ≈ 0.001% of males
Protanopia #005fe1 ≈ 1.01% of males
Deuteranopia #004bd9 ≈ 1.27% of males
Tritanopia #006e8a ≈ 0.0001% of males
Protanomaly #0055df ≈ 1.08% of males
Deuteranomaly #0048da ≈ 4.63% of males
Tritanomaly #005fb1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Blue
#0842dc  rgb(8, 66, 220)  hsl(224, 93%, 45%)  Persian Blue
#dca208  rgb(220, 162, 8)  hsl(44, 93%, 45%)  Goldenrod
#dc0842  rgb(220, 8, 66)  hsl(344, 93%, 45%)  Crimson
#42dc08  rgb(66, 220, 8)  hsl(104, 93%, 45%)  Lime Green