#345ECF

#345ecf ≈ Royal Blue

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

#345ecf 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.86% green and 81.18% blue; printed in CMYK it uses 74.88% cyan, 54.59% magenta, 0% yellow and 18.82% black. Its hue angle is 223.74°, with 61.75% saturation and 50.78% 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.76:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.54.

Description generated from the measured properties of this color.

Conversions of #345ecf 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.1324

Readable text 5.76:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.65:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #56639b ≈ 0.001% of males
Protanopia #006dd3 ≈ 1.01% of males
Deuteranopia #005fcd ≈ 1.27% of males
Tritanopia #007a8d ≈ 0.0001% of males
Protanomaly #1b68d1 ≈ 1.08% of males
Deuteranomaly #005fce ≈ 4.63% of males
Tritanomaly #0070ac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-345ecf {
  color: #345ecf;
}
Background
.bg-345ecf {
  background-color: #345ecf;
  color: #ffffff;
}
Border
.border-345ecf {
  border: 2px solid #345ecf;
}
CSS variables
:root {
  --color-primary: #345ecf;
  --color-primary-rgb: 52 94 207;
  --color-primary-hsl: 224 62% 51%;
}
Gradient
.gradient-345ecf {
  background: linear-gradient(135deg, #345ecf, #5734cf);
}
Colored shadow
.shadow-345ecf {
  box-shadow: 0 8px 24px rgb(52 94 207 / 0.35);
}

Royal Blue
#345ecf  rgb(52, 94, 207)  hsl(224, 62%, 51%)  Royal Blue
#cfa534  rgb(207, 165, 52)  hsl(44, 62%, 51%)  Goldenrod
#cf345e  rgb(207, 52, 94)  hsl(344, 62%, 51%)  Cerise
#5ecf34  rgb(94, 207, 52)  hsl(104, 62%, 51%)  Lime Green