#2158FF

#2158ff ≈ Ultramarine Blue

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

#2158ff 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 100% blue; printed in CMYK it uses 87.06% cyan, 65.49% magenta, 0% yellow and 0% black. Its hue angle is 225.14°, with 100% saturation and 56.47% 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.38:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 4.38.

Description generated from the measured properties of this color.

Conversions of #2158ff 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.1452

Readable text 5.38:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.9:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #5664b9 ≈ 0.001% of males
Protanopia #0075ff ≈ 1.01% of males
Deuteranopia #0060fc ≈ 1.27% of males
Tritanopia #0086a4 ≈ 0.0001% of males
Protanomaly #006bff ≈ 1.08% of males
Deuteranomaly #005dfd ≈ 4.63% of males
Tritanomaly #0076cf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2158ff {
  color: #2158ff;
}
Background
.bg-2158ff {
  background-color: #2158ff;
  color: #ffffff;
}
Border
.border-2158ff {
  border: 2px solid #2158ff;
}
CSS variables
:root {
  --color-primary: #2158ff;
  --color-primary-rgb: 33 88 255;
  --color-primary-hsl: 225 100% 56%;
}
Gradient
.gradient-2158ff {
  background: linear-gradient(135deg, #2158ff, #5921ff);
}
Colored shadow
.shadow-2158ff {
  box-shadow: 0 8px 24px rgb(33 88 255 / 0.35);
}

Ultramarine Blue
#2158ff  rgb(33, 88, 255)  hsl(225, 100%, 56%)  Ultramarine Blue
#ffc821  rgb(255, 200, 33)  hsl(45, 100%, 56%)  Mikado Yellow
#ff2158  rgb(255, 33, 88)  hsl(345, 100%, 56%)  Folly
#58ff21  rgb(88, 255, 33)  hsl(105, 100%, 56%)  Harlequin