#5F02CB

#5f02cb ≈ Ultramarine

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

#5f02cb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 37.25% red, 0.78% green and 79.61% blue; printed in CMYK it uses 53.2% cyan, 99.01% magenta, 0% yellow and 20.39% black. Its hue angle is 267.76°, with 98.05% saturation and 40.2% 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 8.91:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 6.18.

Description generated from the measured properties of this color.

Conversions of #5f02cb 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.0679

Readable text 8.91:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4a4a4a ≈ 0.003% of males
Achromatomaly #533990 ≈ 0.001% of males
Protanopia #004cd0 ≈ 1.01% of males
Deuteranopia #0046c8 ≈ 1.27% of males
Tritanopia #365076 ≈ 0.0001% of males
Protanomaly #003bce ≈ 1.08% of males
Deuteranomaly #0036c9 ≈ 4.63% of males
Tritanomaly #4a3e9f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f02cb {
  color: #5f02cb;
}
Background
.bg-5f02cb {
  background-color: #5f02cb;
  color: #ffffff;
}
Border
.border-5f02cb {
  border: 2px solid #5f02cb;
}
CSS variables
:root {
  --color-primary: #5f02cb;
  --color-primary-rgb: 95 2 203;
  --color-primary-hsl: 268 98% 40%;
}
Gradient
.gradient-5f02cb {
  background: linear-gradient(135deg, #5f02cb, #c402cb);
}
Colored shadow
.shadow-5f02cb {
  box-shadow: 0 8px 24px rgb(95 2 203 / 0.35);
}

Ultramarine
#5f02cb  rgb(95, 2, 203)  hsl(268, 98%, 40%)  Ultramarine
#6ecb02  rgb(110, 203, 2)  hsl(88, 98%, 40%)  Yellow Green
#cb5f02  rgb(203, 95, 2)  hsl(28, 98%, 40%)  Burnt Orange
#02cb5f  rgb(2, 203, 95)  hsl(148, 98%, 40%)  Emerald