#042EDC

#042edc ≈ Persian Blue

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

#042edc is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 18.04% green and 86.27% blue; printed in CMYK it uses 98.18% cyan, 79.09% magenta, 0% yellow and 13.73% black. Its hue angle is 228.33°, with 96.43% saturation and 43.92% 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 8.64:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 4.68.

Description generated from the measured properties of this color.

Conversions of #042edc 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.0715

Readable text 8.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #3b429b ≈ 0.001% of males
Protanopia #0056e1 ≈ 1.01% of males
Deuteranopia #0041d9 ≈ 1.27% of males
Tritanopia #006585 ≈ 0.0001% of males
Protanomaly #0049df ≈ 1.08% of males
Deuteranomaly #003ada ≈ 4.63% of males
Tritanomaly #0054af ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-042edc {
  color: #042edc;
}
Background
.bg-042edc {
  background-color: #042edc;
  color: #ffffff;
}
Border
.border-042edc {
  border: 2px solid #042edc;
}
CSS variables
:root {
  --color-primary: #042edc;
  --color-primary-rgb: 4 46 220;
  --color-primary-hsl: 228 96% 44%;
}
Gradient
.gradient-042edc {
  background: linear-gradient(135deg, #042edc, #4604dc);
}
Colored shadow
.shadow-042edc {
  box-shadow: 0 8px 24px rgb(4 46 220 / 0.35);
}

Persian Blue
#042edc  rgb(4, 46, 220)  hsl(228, 96%, 44%)  Persian Blue
#dcb204  rgb(220, 178, 4)  hsl(48, 96%, 44%)  Metallic Gold
#dc042e  rgb(220, 4, 46)  hsl(348, 96%, 44%)  Fire Engine Red
#2edc04  rgb(46, 220, 4)  hsl(108, 96%, 44%)  Lime Green