#331CFB

#331cfb ≈ Ultramarine

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

#331cfb is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 10.98% green and 98.43% blue; printed in CMYK it uses 79.68% cyan, 88.84% magenta, 0% yellow and 1.57% black. Its hue angle is 246.19°, with 96.54% saturation and 54.71% 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 7.78:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.7.

Description generated from the measured properties of this color.

Conversions of #331cfb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3333ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.085

Readable text 7.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #4843b0 ≈ 0.001% of males
Protanopia #005dff ≈ 1.01% of males
Deuteranopia #0047f8 ≈ 1.27% of males
Tritanopia #006c95 ≈ 0.0001% of males
Protanomaly #004bfe ≈ 1.08% of males
Deuteranomaly #003af9 ≈ 4.63% of males
Tritanomaly #0057c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331cfb {
  color: #331cfb;
}
Background
.bg-331cfb {
  background-color: #331cfb;
  color: #ffffff;
}
Border
.border-331cfb {
  border: 2px solid #331cfb;
}
CSS variables
:root {
  --color-primary: #331cfb;
  --color-primary-rgb: 51 28 251;
  --color-primary-hsl: 246 97% 55%;
}
Gradient
.gradient-331cfb {
  background: linear-gradient(135deg, #331cfb, #a31cfb);
}
Colored shadow
.shadow-331cfb {
  box-shadow: 0 8px 24px rgb(51 28 251 / 0.35);
}

Ultramarine
#331cfb  rgb(51, 28, 251)  hsl(246, 97%, 55%)  Ultramarine
#e4fb1c  rgb(228, 251, 28)  hsl(66, 97%, 55%)  Lemon Lime
#fb331c  rgb(251, 51, 28)  hsl(6, 97%, 55%)  Scarlet
#1cfb33  rgb(28, 251, 51)  hsl(126, 97%, 55%)  Lime