#305CDC

#305cdc ≈ Royal Blue

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

#305cdc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.82% red, 36.08% green and 86.27% blue; printed in CMYK it uses 78.18% cyan, 58.18% magenta, 0% yellow and 13.73% black. Its hue angle is 224.65°, with 71.07% saturation and 52.55% 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.69:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.45.

Description generated from the measured properties of this color.

Conversions of #305cdc 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.1345

Readable text 5.69:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.69:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #5663a3 ≈ 0.001% of males
Protanopia #006fe0 ≈ 1.01% of males
Deuteranopia #005fda ≈ 1.27% of males
Tritanopia #007c93 ≈ 0.0001% of males
Protanomaly #0068df ≈ 1.08% of males
Deuteranomaly #005edb ≈ 4.63% of males
Tritanomaly #0071b5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-305cdc {
  color: #305cdc;
}
Background
.bg-305cdc {
  background-color: #305cdc;
  color: #ffffff;
}
Border
.border-305cdc {
  border: 2px solid #305cdc;
}
CSS variables
:root {
  --color-primary: #305cdc;
  --color-primary-rgb: 48 92 220;
  --color-primary-hsl: 225 71% 53%;
}
Gradient
.gradient-305cdc {
  background: linear-gradient(135deg, #305cdc, #5a30dc);
}
Colored shadow
.shadow-305cdc {
  box-shadow: 0 8px 24px rgb(48 92 220 / 0.35);
}

Royal Blue
#305cdc  rgb(48, 92, 220)  hsl(225, 71%, 53%)  Royal Blue
#dcb030  rgb(220, 176, 48)  hsl(45, 71%, 53%)  Metallic Gold
#dc305c  rgb(220, 48, 92)  hsl(345, 71%, 53%)  Cerise
#5cdc30  rgb(92, 220, 48)  hsl(105, 71%, 53%)  Lime Green