#042CCF

#042ccf ≈ Persian Blue

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

#042ccf is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 17.25% green and 81.18% blue; printed in CMYK it uses 98.07% cyan, 78.74% magenta, 0% yellow and 18.82% black. Its hue angle is 228.18°, with 96.21% saturation and 41.37% 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 9.27:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.91.

Description generated from the measured properties of this color.

Conversions of #042ccf 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.0633

Readable text 9.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.27:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #373e92 ≈ 0.001% of males
Protanopia #0051d4 ≈ 1.01% of males
Deuteranopia #003dcc ≈ 1.27% of males
Tritanopia #005f7e ≈ 0.0001% of males
Protanomaly #0045d2 ≈ 1.08% of males
Deuteranomaly #0037cd ≈ 4.63% of males
Tritanomaly #0050a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Blue
#042ccf  rgb(4, 44, 207)  hsl(228, 96%, 41%)  Persian Blue
#cfa704  rgb(207, 167, 4)  hsl(48, 96%, 41%)  Metallic Gold
#cf042c  rgb(207, 4, 44)  hsl(348, 96%, 41%)  Fire Engine Red
#2ccf04  rgb(44, 207, 4)  hsl(108, 96%, 41%)  Lime Green