#0342CF

#0342cf ≈ Persian Blue

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

#0342cf is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.18% red, 25.88% green and 81.18% blue; printed in CMYK it uses 98.55% cyan, 68.12% magenta, 0% yellow and 18.82% black. Its hue angle is 221.47°, with 97.14% saturation and 41.18% 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.82:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.57.

Description generated from the measured properties of this color.

Conversions of #0342cf 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.0842

Readable text 7.82:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #404c95 ≈ 0.001% of males
Protanopia #005bd3 ≈ 1.01% of males
Deuteranopia #0049cc ≈ 1.27% of males
Tritanopia #006a83 ≈ 0.0001% of males
Protanomaly #0052d2 ≈ 1.08% of males
Deuteranomaly #0046cd ≈ 4.63% of males
Tritanomaly #005ca7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0342cf {
  color: #0342cf;
}
Background
.bg-0342cf {
  background-color: #0342cf;
  color: #ffffff;
}
Border
.border-0342cf {
  border: 2px solid #0342cf;
}
CSS variables
:root {
  --color-primary: #0342cf;
  --color-primary-rgb: 3 66 207;
  --color-primary-hsl: 221 97% 41%;
}
Gradient
.gradient-0342cf {
  background: linear-gradient(135deg, #0342cf, #2a03cf);
}
Colored shadow
.shadow-0342cf {
  box-shadow: 0 8px 24px rgb(3 66 207 / 0.35);
}

Persian Blue
#0342cf  rgb(3, 66, 207)  hsl(221, 97%, 41%)  Persian Blue
#cf9003  rgb(207, 144, 3)  hsl(41, 97%, 41%)  Gamboge
#cf0342  rgb(207, 3, 66)  hsl(341, 97%, 41%)  Cardinal
#42cf03  rgb(66, 207, 3)  hsl(101, 97%, 41%)  Lime Green