#2F0CFA

#2f0cfa ≈ Ultramarine

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

#2f0cfa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 4.71% green and 98.04% blue; printed in CMYK it uses 81.2% cyan, 95.2% magenta, 0% yellow and 1.96% black. Its hue angle is 248.82°, with 95.97% saturation and 51.37% 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 8.22:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.25.

Description generated from the measured properties of this color.

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

Readable text 8.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.55:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #443eaf ≈ 0.001% of males
Protanopia #0059ff ≈ 1.01% of males
Deuteranopia #0043f7 ≈ 1.27% of males
Tritanopia #006993 ≈ 0.0001% of males
Protanomaly #0046fd ≈ 1.08% of males
Deuteranomaly #0034f8 ≈ 4.63% of males
Tritanomaly #0053c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f0cfa {
  color: #2f0cfa;
}
Background
.bg-2f0cfa {
  background-color: #2f0cfa;
  color: #ffffff;
}
Border
.border-2f0cfa {
  border: 2px solid #2f0cfa;
}
CSS variables
:root {
  --color-primary: #2f0cfa;
  --color-primary-rgb: 47 12 250;
  --color-primary-hsl: 249 96% 51%;
}
Gradient
.gradient-2f0cfa {
  background: linear-gradient(135deg, #2f0cfa, #a60cfa);
}
Colored shadow
.shadow-2f0cfa {
  box-shadow: 0 8px 24px rgb(47 12 250 / 0.35);
}

Ultramarine
#2f0cfa  rgb(47, 12, 250)  hsl(249, 96%, 51%)  Ultramarine
#d7fa0c  rgb(215, 250, 12)  hsl(69, 96%, 51%)  Chartreuse Yellow
#fa2f0c  rgb(250, 47, 12)  hsl(9, 96%, 51%)  Scarlet
#0cfa2f  rgb(12, 250, 47)  hsl(129, 96%, 51%)  Lime