#331CFA

#331cfa ≈ Ultramarine

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

#331cfa 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.04% blue; printed in CMYK it uses 79.6% cyan, 88.8% magenta, 0% yellow and 1.96% black. Its hue angle is 246.22°, with 95.69% saturation and 54.51% 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.81:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.7.

Description generated from the measured properties of this color.

Conversions of #331cfa 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.0844

Readable text 7.81:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #4742b0 ≈ 0.001% of males
Protanopia #005cff ≈ 1.01% of males
Deuteranopia #0047f7 ≈ 1.27% of males
Tritanopia #006c95 ≈ 0.0001% of males
Protanomaly #004afd ≈ 1.08% of males
Deuteranomaly #003af8 ≈ 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-331cfa {
  color: #331cfa;
}
Background
.bg-331cfa {
  background-color: #331cfa;
  color: #ffffff;
}
Border
.border-331cfa {
  border: 2px solid #331cfa;
}
CSS variables
:root {
  --color-primary: #331cfa;
  --color-primary-rgb: 51 28 250;
  --color-primary-hsl: 246 96% 55%;
}
Gradient
.gradient-331cfa {
  background: linear-gradient(135deg, #331cfa, #a21cfa);
}
Colored shadow
.shadow-331cfa {
  box-shadow: 0 8px 24px rgb(51 28 250 / 0.35);
}

Ultramarine
#331cfa  rgb(51, 28, 250)  hsl(246, 96%, 55%)  Ultramarine
#e3fa1c  rgb(227, 250, 28)  hsl(66, 96%, 55%)  Lemon Lime
#fa331c  rgb(250, 51, 28)  hsl(6, 96%, 55%)  Scarlet
#1cfa33  rgb(28, 250, 51)  hsl(126, 96%, 55%)  Lime