#0842DF

#0842df ≈ Persian Blue

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

#0842df 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 87.45% blue; printed in CMYK it uses 96.41% cyan, 70.4% magenta, 0% yellow and 12.55% black. Its hue angle is 223.81°, with 93.07% saturation and 45.29% 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.36:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 5.13.

Description generated from the measured properties of this color.

Conversions of #0842df 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.0928

Readable text 7.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.86:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #434fa0 ≈ 0.001% of males
Protanopia #0060e4 ≈ 1.01% of males
Deuteranopia #004cdc ≈ 1.27% of males
Tritanopia #006f8c ≈ 0.0001% of males
Protanomaly #0055e2 ≈ 1.08% of males
Deuteranomaly #0048dd ≈ 4.63% of males
Tritanomaly #0060b3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Blue
#0842df  rgb(8, 66, 223)  hsl(224, 93%, 45%)  Persian Blue
#dfa508  rgb(223, 165, 8)  hsl(44, 93%, 45%)  Goldenrod
#df0842  rgb(223, 8, 66)  hsl(344, 93%, 45%)  Crimson
#42df08  rgb(66, 223, 8)  hsl(104, 93%, 45%)  Lime Green