#2F5BF5

#2f5bf5 ≈ Ultramarine Blue

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

#2f5bf5 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 96.08% blue; printed in CMYK it uses 80.82% cyan, 62.86% magenta, 0% yellow and 3.92% black. Its hue angle is 226.67°, with 90.83% saturation and 57.25% 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.34:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.57.

Description generated from the measured properties of this color.

Conversions of #2f5bf5 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.1468

Readable text 5.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #5965b3 ≈ 0.001% of males
Protanopia #0074fa ≈ 1.01% of males
Deuteranopia #0062f2 ≈ 1.27% of males
Tritanopia #0084a0 ≈ 0.0001% of males
Protanomaly #006bf8 ≈ 1.08% of males
Deuteranomaly #005ff3 ≈ 4.63% of males
Tritanomaly #0076c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine Blue
#2f5bf5  rgb(47, 91, 245)  hsl(227, 91%, 57%)  Ultramarine Blue
#f5c92f  rgb(245, 201, 47)  hsl(47, 91%, 57%)  Jonquil
#f52f5b  rgb(245, 47, 91)  hsl(347, 91%, 57%)  Folly
#5bf52f  rgb(91, 245, 47)  hsl(107, 91%, 57%)  Neon Green