#2158EF

#2158ef ≈ Ultramarine Blue

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

#2158ef 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.51% green and 93.73% blue; printed in CMYK it uses 86.19% cyan, 63.18% magenta, 0% yellow and 6.27% black. Its hue angle is 223.98°, 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.67:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 4.92.

Description generated from the measured properties of this color.

Conversions of #2158ef 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.1353

Readable text 5.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.71:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #5361af ≈ 0.001% of males
Protanopia #0071f4 ≈ 1.01% of males
Deuteranopia #005eec ≈ 1.27% of males
Tritanopia #00809b ≈ 0.0001% of males
Protanomaly #0068f2 ≈ 1.08% of males
Deuteranomaly #005bed ≈ 4.63% of males
Tritanomaly #0072c3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine Blue
#2158ef  rgb(33, 88, 239)  hsl(224, 87%, 53%)  Ultramarine Blue
#efb821  rgb(239, 184, 33)  hsl(44, 87%, 53%)  Meat Brown
#ef2158  rgb(239, 33, 88)  hsl(344, 87%, 53%)  Amaranth
#58ef21  rgb(88, 239, 33)  hsl(104, 87%, 53%)  Harlequin