#2157FD

#2157fd ≈ Ultramarine Blue

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

#2157fd 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 99.22% blue; printed in CMYK it uses 86.96% cyan, 65.61% magenta, 0% yellow and 0.78% black. Its hue angle is 225.27°, with 98.21% saturation and 56.08% 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.46:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 4.68.

Description generated from the measured properties of this color.

Conversions of #2157fd 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.1423

Readable text 5.46:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.85:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #5563b8 ≈ 0.001% of males
Protanopia #0074ff ≈ 1.01% of males
Deuteranopia #005ffa ≈ 1.27% of males
Tritanopia #0084a3 ≈ 0.0001% of males
Protanomaly #0069ff ≈ 1.08% of males
Deuteranomaly #005cfb ≈ 4.63% of males
Tritanomaly #0075cd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine Blue
#2157fd  rgb(33, 87, 253)  hsl(225, 98%, 56%)  Ultramarine Blue
#fdc721  rgb(253, 199, 33)  hsl(45, 98%, 56%)  Mikado Yellow
#fd2157  rgb(253, 33, 87)  hsl(345, 98%, 56%)  Folly
#57fd21  rgb(87, 253, 33)  hsl(105, 98%, 56%)  Harlequin