#2157EF

#2157ef ≈ Ultramarine Blue

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

#2157ef is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.94% red, 34.12% green and 93.73% blue; printed in CMYK it uses 86.19% cyan, 63.6% magenta, 0% yellow and 6.27% black. Its hue angle is 224.27°, with 86.55% saturation and 53.33% 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.72:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 5.17.

Description generated from the measured properties of this color.

Conversions of #2157ef 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.1337

Readable text 5.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.67:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #5361ae ≈ 0.001% of males
Protanopia #0070f4 ≈ 1.01% of males
Deuteranopia #005dec ≈ 1.27% of males
Tritanopia #00809b ≈ 0.0001% of males
Protanomaly #0067f2 ≈ 1.08% of males
Deuteranomaly #005bed ≈ 4.63% of males
Tritanomaly #0072c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2157ef {
  color: #2157ef;
}
Background
.bg-2157ef {
  background-color: #2157ef;
  color: #ffffff;
}
Border
.border-2157ef {
  border: 2px solid #2157ef;
}
CSS variables
:root {
  --color-primary: #2157ef;
  --color-primary-rgb: 33 87 239;
  --color-primary-hsl: 224 87% 53%;
}
Gradient
.gradient-2157ef {
  background: linear-gradient(135deg, #2157ef, #5221ef);
}
Colored shadow
.shadow-2157ef {
  box-shadow: 0 8px 24px rgb(33 87 239 / 0.35);
}

Ultramarine Blue
#2157ef  rgb(33, 87, 239)  hsl(224, 87%, 53%)  Ultramarine Blue
#efb921  rgb(239, 185, 33)  hsl(44, 87%, 53%)  Meat Brown
#ef2157  rgb(239, 33, 87)  hsl(344, 87%, 53%)  Amaranth
#57ef21  rgb(87, 239, 33)  hsl(104, 87%, 53%)  Harlequin