#2154EF

#2154ef ≈ Ultramarine Blue

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

#2154ef is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.94% red, 32.94% green and 93.73% blue; printed in CMYK it uses 86.19% cyan, 64.85% magenta, 0% yellow and 6.27% black. Its hue angle is 225.15°, 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.87:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 5.96.

Description generated from the measured properties of this color.

Conversions of #2154ef 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.129

Readable text 5.87:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.58:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #525eae ≈ 0.001% of males
Protanopia #006ef4 ≈ 1.01% of males
Deuteranopia #005bec ≈ 1.27% of males
Tritanopia #007e9a ≈ 0.0001% of males
Protanomaly #0065f2 ≈ 1.08% of males
Deuteranomaly #0058ed ≈ 4.63% of males
Tritanomaly #0070c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ultramarine Blue
#2154ef  rgb(33, 84, 239)  hsl(225, 87%, 53%)  Ultramarine Blue
#efbc21  rgb(239, 188, 33)  hsl(45, 87%, 53%)  Saffron
#ef2154  rgb(239, 33, 84)  hsl(345, 87%, 53%)  Amaranth
#54ef21  rgb(84, 239, 33)  hsl(105, 87%, 53%)  Neon Green