#5A08CB

#5a08cb ≈ Ultramarine

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#5a08cb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 35.29% red, 3.14% green and 79.61% blue; printed in CMYK it uses 55.67% cyan, 96.06% magenta, 0% yellow and 20.39% black. Its hue angle is 265.23°, with 92.42% saturation and 41.37% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 9.01:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 5.96.

Description generated from the measured properties of this color.

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

Readable text 9.01:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #503990 ≈ 0.001% of males
Protanopia #004cd0 ≈ 1.01% of males
Deuteranopia #0044c8 ≈ 1.27% of males
Tritanopia #285177 ≈ 0.0001% of males
Protanomaly #003cce ≈ 1.08% of males
Deuteranomaly #0035c9 ≈ 4.63% of males
Tritanomaly #423f9f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a08cb {
  color: #5a08cb;
}
Background
.bg-5a08cb {
  background-color: #5a08cb;
  color: #ffffff;
}
Border
.border-5a08cb {
  border: 2px solid #5a08cb;
}
CSS variables
:root {
  --color-primary: #5a08cb;
  --color-primary-rgb: 90 8 203;
  --color-primary-hsl: 265 92% 41%;
}
Gradient
.gradient-5a08cb {
  background: linear-gradient(135deg, #5a08cb, #bb08cb);
}
Colored shadow
.shadow-5a08cb {
  box-shadow: 0 8px 24px rgb(90 8 203 / 0.35);
}

Ultramarine
#5a08cb  rgb(90, 8, 203)  hsl(265, 92%, 41%)  Ultramarine
#79cb08  rgb(121, 203, 8)  hsl(85, 92%, 41%)  Yellow Green
#cb5a08  rgb(203, 90, 8)  hsl(25, 92%, 41%)  Burnt Orange
#08cb5a  rgb(8, 203, 90)  hsl(145, 92%, 41%)  Malachite