#2F5BFB

#2f5bfb ≈ Ultramarine Blue

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

#2f5bfb is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 35.69% green and 98.43% blue; printed in CMYK it uses 81.27% cyan, 63.75% magenta, 0% yellow and 1.57% black. Its hue angle is 227.06°, with 96.23% saturation and 58.43% 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.24:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.44.

Description generated from the measured properties of this color.

Conversions of #2f5bfb 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.1505

Readable text 5.24:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #5a66b7 ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #0063f8 ≈ 1.27% of males
Tritanopia #0086a3 ≈ 0.0001% of males
Protanomaly #006cfe ≈ 1.08% of males
Deuteranomaly #0060f9 ≈ 4.63% of males
Tritanomaly #0077cc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f5bfb {
  color: #2f5bfb;
}
Background
.bg-2f5bfb {
  background-color: #2f5bfb;
  color: #ffffff;
}
Border
.border-2f5bfb {
  border: 2px solid #2f5bfb;
}
CSS variables
:root {
  --color-primary: #2f5bfb;
  --color-primary-rgb: 47 91 251;
  --color-primary-hsl: 227 96% 58%;
}
Gradient
.gradient-2f5bfb {
  background: linear-gradient(135deg, #2f5bfb, #692ffb);
}
Colored shadow
.shadow-2f5bfb {
  box-shadow: 0 8px 24px rgb(47 91 251 / 0.35);
}

Ultramarine Blue
#2f5bfb  rgb(47, 91, 251)  hsl(227, 96%, 58%)  Ultramarine Blue
#fbcf2f  rgb(251, 207, 47)  hsl(47, 96%, 58%)  Jonquil
#fb2f5b  rgb(251, 47, 91)  hsl(347, 96%, 58%)  Neon Fuchsia
#5bfb2f  rgb(91, 251, 47)  hsl(107, 96%, 58%)  Neon Green