#3158E2

#3158e2 ≈ Ultramarine Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#3158e2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 19.22% red, 34.51% green and 88.63% blue; printed in CMYK it uses 78.32% cyan, 61.06% magenta, 0% yellow and 11.37% black. Its hue angle is 226.78°, with 75.32% saturation and 53.92% 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 brand accents. White text on this color reaches a contrast ratio of 5.79:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 5.41.

Description generated from the measured properties of this color.

Conversions of #3158e2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3366cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1312

Readable text 5.79: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 #5560a6 ≈ 0.001% of males
Protanopia #006ee7 ≈ 1.01% of males
Deuteranopia #005ddf ≈ 1.27% of males
Tritanopia #007c95 ≈ 0.0001% of males
Protanomaly #0066e5 ≈ 1.08% of males
Deuteranomaly #005be0 ≈ 4.63% of males
Tritanomaly #006fb9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-3158e2 {
  color: #3158e2;
}
Background
.bg-3158e2 {
  background-color: #3158e2;
  color: #ffffff;
}
Border
.border-3158e2 {
  border: 2px solid #3158e2;
}
CSS variables
:root {
  --color-primary: #3158e2;
  --color-primary-rgb: 49 88 226;
  --color-primary-hsl: 227 75% 54%;
}
Gradient
.gradient-3158e2 {
  background: linear-gradient(135deg, #3158e2, #6231e2);
}
Colored shadow
.shadow-3158e2 {
  box-shadow: 0 8px 24px rgb(49 88 226 / 0.35);
}

Ultramarine Blue
#3158e2  rgb(49, 88, 226)  hsl(227, 75%, 54%)  Ultramarine Blue
#e2bb31  rgb(226, 187, 49)  hsl(47, 75%, 54%)  Meat Brown
#e23158  rgb(226, 49, 88)  hsl(347, 75%, 54%)  Amaranth
#58e231  rgb(88, 226, 49)  hsl(107, 75%, 54%)  Lime Green