#305CF6

#305cf6 ≈ Ultramarine Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#305cf6 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.82% red, 36.08% green and 96.47% blue; printed in CMYK it uses 80.49% cyan, 62.6% magenta, 0% yellow and 3.53% black. Its hue angle is 226.67°, with 91.67% saturation and 57.65% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.27:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.24.

Description generated from the measured properties of this color.

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

Readable text 5.27:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.99:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #5a66b4 ≈ 0.001% of males
Protanopia #0075fb ≈ 1.01% of males
Deuteranopia #0063f3 ≈ 1.27% of males
Tritanopia #0085a1 ≈ 0.0001% of males
Protanomaly #006cf9 ≈ 1.08% of males
Deuteranomaly #0060f4 ≈ 4.63% of males
Tritanomaly #0076c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-305cf6 {
  color: #305cf6;
}
Background
.bg-305cf6 {
  background-color: #305cf6;
  color: #ffffff;
}
Border
.border-305cf6 {
  border: 2px solid #305cf6;
}
CSS variables
:root {
  --color-primary: #305cf6;
  --color-primary-rgb: 48 92 246;
  --color-primary-hsl: 227 92% 58%;
}
Gradient
.gradient-305cf6 {
  background: linear-gradient(135deg, #305cf6, #6730f6);
}
Colored shadow
.shadow-305cf6 {
  box-shadow: 0 8px 24px rgb(48 92 246 / 0.35);
}

Ultramarine Blue
#305cf6  rgb(48, 92, 246)  hsl(227, 92%, 58%)  Ultramarine Blue
#f6ca30  rgb(246, 202, 48)  hsl(47, 92%, 58%)  Jonquil
#f6305c  rgb(246, 48, 92)  hsl(347, 92%, 58%)  Folly
#5cf630  rgb(92, 246, 48)  hsl(107, 92%, 58%)  Neon Green