Skip to content

#2c27df

a balanced, vivid blue · warm · closest name: blue

RGB
44, 39, 223
HSL
242°, 74%, 51%
CMYK
80, 83, 0, 13
Luminance
0.0731

Every format

HEX#2c27df
RGBrgb(44, 39, 223)
HSLhsl(242, 74%, 51%)
CMYKcmyk(80%, 83%, 0%, 13%)
LABlab(32.5 61.6 -89.3)
LCHlch(32.5 108.5 304.6)
OKLCHoklch(0.445 0.259 270.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2c27df on white: 8.53:1
AA ✓ pass · AA-large · AAA
Aa
#2c27df on black: 2.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green15.3%
Blue87.5%

CMYK percentages

Cyan80.3%
Magenta82.5%
Yellow0.0%
Key (black)12.5%

Color previews

#2c27df text on a black background

contrast 2.46:1

Card sample

#2c27df text on a white background

contrast 8.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2c27df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2c27df in the Color Lab