#5904CC

#5904cc ≈ Ultramarine

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

#5904cc is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 34.9% red, 1.57% green and 80% blue; printed in CMYK it uses 56.37% cyan, 98.04% magenta, 0% yellow and 20% black. Its hue angle is 265.5°, with 96.15% saturation and 40.78% 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.07:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 5.89.

Description generated from the measured properties of this color.

Conversions of #5904cc 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.0657

Readable text 9.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #503890 ≈ 0.001% of males
Protanopia #004cd1 ≈ 1.01% of males
Deuteranopia #0044c9 ≈ 1.27% of males
Tritanopia #245177 ≈ 0.0001% of males
Protanomaly #003bcf ≈ 1.08% of males
Deuteranomaly #0034ca ≈ 4.63% of males
Tritanomaly #3f3fa0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5904cc {
  color: #5904cc;
}
Background
.bg-5904cc {
  background-color: #5904cc;
  color: #ffffff;
}
Border
.border-5904cc {
  border: 2px solid #5904cc;
}
CSS variables
:root {
  --color-primary: #5904cc;
  --color-primary-rgb: 89 4 204;
  --color-primary-hsl: 266 96% 41%;
}
Gradient
.gradient-5904cc {
  background: linear-gradient(135deg, #5904cc, #bd04cc);
}
Colored shadow
.shadow-5904cc {
  box-shadow: 0 8px 24px rgb(89 4 204 / 0.35);
}

Ultramarine
#5904cc  rgb(89, 4, 204)  hsl(266, 96%, 41%)  Ultramarine
#77cc04  rgb(119, 204, 4)  hsl(86, 96%, 41%)  Yellow Green
#cc5904  rgb(204, 89, 4)  hsl(26, 96%, 41%)  Burnt Orange
#04cc59  rgb(4, 204, 89)  hsl(146, 96%, 41%)  Malachite