#2152FA

#2152fa ≈ Ultramarine Blue

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

#2152fa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.94% red, 32.16% green and 98.04% blue; printed in CMYK it uses 86.8% cyan, 67.2% magenta, 0% yellow and 1.96% black. Its hue angle is 226.45°, with 95.59% saturation and 55.49% 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.75:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 6.1.

Description generated from the measured properties of this color.

Conversions of #2152fa 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.1326

Readable text 5.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.65:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #535fb5 ≈ 0.001% of males
Protanopia #0070ff ≈ 1.01% of males
Deuteranopia #005cf7 ≈ 1.27% of males
Tritanopia #00819f ≈ 0.0001% of males
Protanomaly #0066fd ≈ 1.08% of males
Deuteranomaly #0058f8 ≈ 4.63% of males
Tritanomaly #0071ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2152fa {
  color: #2152fa;
}
Background
.bg-2152fa {
  background-color: #2152fa;
  color: #ffffff;
}
Border
.border-2152fa {
  border: 2px solid #2152fa;
}
CSS variables
:root {
  --color-primary: #2152fa;
  --color-primary-rgb: 33 82 250;
  --color-primary-hsl: 226 96% 55%;
}
Gradient
.gradient-2152fa {
  background: linear-gradient(135deg, #2152fa, #5c21fa);
}
Colored shadow
.shadow-2152fa {
  box-shadow: 0 8px 24px rgb(33 82 250 / 0.35);
}

Ultramarine Blue
#2152fa  rgb(33, 82, 250)  hsl(226, 96%, 55%)  Ultramarine Blue
#fac921  rgb(250, 201, 33)  hsl(46, 96%, 55%)  Sunglow
#fa2152  rgb(250, 33, 82)  hsl(346, 96%, 55%)  Folly
#52fa21  rgb(82, 250, 33)  hsl(106, 96%, 55%)  Harlequin