#2157EA

#2157ea ≈ Ultramarine Blue

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

#2157ea 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 91.76% blue; printed in CMYK it uses 85.9% cyan, 62.82% magenta, 0% yellow and 8.24% black. Its hue angle is 223.88°, 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.81:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 5.47.

Description generated from the measured properties of this color.

Conversions of #2157ea 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.1308

Readable text 5.81:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.62:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #5260ab ≈ 0.001% of males
Protanopia #006fef ≈ 1.01% of males
Deuteranopia #005ce7 ≈ 1.27% of males
Tritanopia #007e98 ≈ 0.0001% of males
Protanomaly #0066ed ≈ 1.08% of males
Deuteranomaly #005ae8 ≈ 4.63% of males
Tritanomaly #0070bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine Blue
#2157ea  rgb(33, 87, 234)  hsl(224, 83%, 52%)  Ultramarine Blue
#eab421  rgb(234, 180, 33)  hsl(44, 83%, 52%)  Meat Brown
#ea2157  rgb(234, 33, 87)  hsl(344, 83%, 52%)  Amaranth
#57ea21  rgb(87, 234, 33)  hsl(104, 83%, 52%)  Neon Green