#305FD2

#305fd2 ≈ Royal Blue

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

#305fd2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.82% red, 37.25% green and 82.35% blue; printed in CMYK it uses 77.14% cyan, 54.76% magenta, 0% yellow and 17.65% black. Its hue angle is 222.59°, with 64.29% saturation and 50.59% 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.2.

Description generated from the measured properties of this color.

Conversions of #305fd2 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.1347

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 #56649d ≈ 0.001% of males
Protanopia #006ed6 ≈ 1.01% of males
Deuteranopia #0060d0 ≈ 1.27% of males
Tritanopia #007b8f ≈ 0.0001% of males
Protanomaly #1569d4 ≈ 1.08% of males
Deuteranomaly #005fd1 ≈ 4.63% of males
Tritanomaly #0071ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-305fd2 {
  color: #305fd2;
}
Background
.bg-305fd2 {
  background-color: #305fd2;
  color: #ffffff;
}
Border
.border-305fd2 {
  border: 2px solid #305fd2;
}
CSS variables
:root {
  --color-primary: #305fd2;
  --color-primary-rgb: 48 95 210;
  --color-primary-hsl: 223 64% 51%;
}
Gradient
.gradient-305fd2 {
  background: linear-gradient(135deg, #305fd2, #5230d2);
}
Colored shadow
.shadow-305fd2 {
  box-shadow: 0 8px 24px rgb(48 95 210 / 0.35);
}

Royal Blue
#305fd2  rgb(48, 95, 210)  hsl(223, 64%, 51%)  Royal Blue
#d2a330  rgb(210, 163, 48)  hsl(43, 64%, 51%)  Goldenrod
#d2305f  rgb(210, 48, 95)  hsl(343, 64%, 51%)  Ruby
#5fd230  rgb(95, 210, 48)  hsl(103, 64%, 51%)  Lime Green