#2158EA

#2158ea ≈ Ultramarine Blue

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

#2158ea 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 91.76% blue; printed in CMYK it uses 85.9% cyan, 62.39% magenta, 0% yellow and 8.24% black. Its hue angle is 223.58°, with 82.72% saturation and 52.35% 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.76:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 5.22.

Description generated from the measured properties of this color.

Conversions of #2158ea 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.1324

Readable text 5.76: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 #5361ab ≈ 0.001% of males
Protanopia #006fef ≈ 1.01% of males
Deuteranopia #005de7 ≈ 1.27% of males
Tritanopia #007f99 ≈ 0.0001% of males
Protanomaly #0067ed ≈ 1.08% of males
Deuteranomaly #005be8 ≈ 4.63% of males
Tritanomaly #0071bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine Blue
#2158ea  rgb(33, 88, 234)  hsl(224, 83%, 52%)  Ultramarine Blue
#eab321  rgb(234, 179, 33)  hsl(44, 83%, 52%)  Meat Brown
#ea2158  rgb(234, 33, 88)  hsl(344, 83%, 52%)  Amaranth
#58ea21  rgb(88, 234, 33)  hsl(104, 83%, 52%)  Neon Green