#0342CE

#0342ce ≈ Persian Blue

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

#0342ce 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 80.78% blue; printed in CMYK it uses 98.54% cyan, 67.96% magenta, 0% yellow and 19.22% black. Its hue angle is 221.38°, with 97.13% saturation and 40.98% 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.85:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.5.

Description generated from the measured properties of this color.

Conversions of #0342ce 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.0837

Readable text 7.85:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #404c94 ≈ 0.001% of males
Protanopia #005bd2 ≈ 1.01% of males
Deuteranopia #0049cb ≈ 1.27% of males
Tritanopia #006983 ≈ 0.0001% of males
Protanomaly #0052d1 ≈ 1.08% of males
Deuteranomaly #0046cc ≈ 4.63% of males
Tritanomaly #005ca6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Persian Blue
#0342ce  rgb(3, 66, 206)  hsl(221, 97%, 41%)  Persian Blue
#ce8f03  rgb(206, 143, 3)  hsl(41, 97%, 41%)  Gamboge
#ce0342  rgb(206, 3, 66)  hsl(341, 97%, 41%)  Cardinal
#42ce03  rgb(66, 206, 3)  hsl(101, 97%, 41%)  Lime Green