Skip to content

#2c0acf

a dark, electric blue · warm · closest name: blue

RGB
44, 10, 207
HSL
250°, 91%, 43%
CMYK
79, 95, 0, 19
Luminance
0.0526

Every format

HEX#2c0acf
RGBrgb(44, 10, 207)
HSLhsl(250, 91%, 43%)
CMYKcmyk(79%, 95%, 0%, 19%)
LABlab(27.4 66.3 -88.5)
LCHlch(27.4 110.6 306.9)
OKLCHoklch(0.405 0.256 271.9)

Copy-ready code

/* CSS */
color: #2c0acf;
background-color: #2c0acf;
/* Tailwind (arbitrary) */
class="text-[#2c0acf] bg-[#2c0acf]"
/* SCSS */
$brand: #2c0acf;
/* SwiftUI */
Color(red: 0.173, green: 0.039, blue: 0.812)
/* Android */
Color.parseColor("#2c0acf")

Accessibility — WCAG contrast

Aa
#2c0acf on white: 10.24:1
AA ✓ pass · AA-large · AAA
Aa
#2c0acf on black: 2.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green3.9%
Blue81.2%

CMYK percentages

Cyan78.7%
Magenta95.2%
Yellow0.0%
Key (black)18.8%

Color previews

#2c0acf text on a black background

contrast 2.05:1

Card sample

#2c0acf text on a white background

contrast 10.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2c0acf;
Background color
Panel with #2c0acf background
background-color: #2c0acf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2c0acf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(44, 10, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 10, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c0acf;
background: linear-gradient(135deg, #2c0acf, #AF0ACF);

Monochromatic scale

Palettes built from #2c0acf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2c0acf in the Color Lab