#305FE2

#305fe2 ≈ Royal Blue

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

#305fe2 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 88.63% blue; printed in CMYK it uses 78.76% cyan, 57.96% magenta, 0% yellow and 11.37% black. Its hue angle is 224.16°, with 75.42% saturation and 53.73% 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.44:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 3.39.

Description generated from the measured properties of this color.

Conversions of #305fe2 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.143

Readable text 5.44:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.86:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #5866a8 ≈ 0.001% of males
Protanopia #0072e6 ≈ 1.01% of males
Deuteranopia #0062df ≈ 1.27% of males
Tritanopia #008097 ≈ 0.0001% of males
Protanomaly #006be5 ≈ 1.08% of males
Deuteranomaly #0061e0 ≈ 4.63% of males
Tritanomaly #0074ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-305fe2 {
  color: #305fe2;
}
Background
.bg-305fe2 {
  background-color: #305fe2;
  color: #ffffff;
}
Border
.border-305fe2 {
  border: 2px solid #305fe2;
}
CSS variables
:root {
  --color-primary: #305fe2;
  --color-primary-rgb: 48 95 226;
  --color-primary-hsl: 224 75% 54%;
}
Gradient
.gradient-305fe2 {
  background: linear-gradient(135deg, #305fe2, #5a30e2);
}
Colored shadow
.shadow-305fe2 {
  box-shadow: 0 8px 24px rgb(48 95 226 / 0.35);
}

Royal Blue
#305fe2  rgb(48, 95, 226)  hsl(224, 75%, 54%)  Royal Blue
#e2b330  rgb(226, 179, 48)  hsl(44, 75%, 54%)  Meat Brown
#e2305f  rgb(226, 48, 95)  hsl(344, 75%, 54%)  Cerise
#5fe230  rgb(95, 226, 48)  hsl(104, 75%, 54%)  Lime Green