#345CD4

#345cd4 ≈ Royal Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#345cd4 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20.39% red, 36.08% green and 83.14% blue; printed in CMYK it uses 75.47% cyan, 56.6% magenta, 0% yellow and 16.86% black. Its hue angle is 225°, with 65.04% saturation and 51.76% 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 brand accents. White text on this color reaches a contrast ratio of 5.79:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.74.

Description generated from the measured properties of this color.

Conversions of #345cd4 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3366cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1314

Readable text 5.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.63:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #56629e ≈ 0.001% of males
Protanopia #006dd8 ≈ 1.01% of males
Deuteranopia #005ed2 ≈ 1.27% of males
Tritanopia #007a8f ≈ 0.0001% of males
Protanomaly #0c67d6 ≈ 1.08% of males
Deuteranomaly #005dd3 ≈ 4.63% of males
Tritanomaly #006faf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-345cd4 {
  color: #345cd4;
}
Background
.bg-345cd4 {
  background-color: #345cd4;
  color: #ffffff;
}
Border
.border-345cd4 {
  border: 2px solid #345cd4;
}
CSS variables
:root {
  --color-primary: #345cd4;
  --color-primary-rgb: 52 92 212;
  --color-primary-hsl: 225 65% 52%;
}
Gradient
.gradient-345cd4 {
  background: linear-gradient(135deg, #345cd4, #5c34d4);
}
Colored shadow
.shadow-345cd4 {
  box-shadow: 0 8px 24px rgb(52 92 212 / 0.35);
}

Royal Blue
#345cd4  rgb(52, 92, 212)  hsl(225, 65%, 52%)  Royal Blue
#d4ac34  rgb(212, 172, 52)  hsl(45, 65%, 52%)  Metallic Gold
#d4345c  rgb(212, 52, 92)  hsl(345, 65%, 52%)  Cerise
#5cd434  rgb(92, 212, 52)  hsl(105, 65%, 52%)  Lime Green