Skip to content

#6148df

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

RGB
97, 72, 223
HSL
250°, 70%, 58%
CMYK
57, 68, 0, 13
Luminance
0.1250

Every format

HEX#6148df
RGBrgb(97, 72, 223)
HSLhsl(250, 70%, 58%)
CMYKcmyk(57%, 68%, 0%, 13%)
LABlab(42.0 50.1 -73.5)
LCHlch(42.0 89.0 304.3)
OKLCHoklch(0.522 0.217 283.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#6148df on white: 6.00:1
AA ✓ pass · AA-large · AAA
Aa
#6148df on black: 3.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red38.0%
Green28.2%
Blue87.5%

CMYK percentages

Cyan56.5%
Magenta67.7%
Yellow0.0%
Key (black)12.5%

Color previews

#6148df text on a black background

contrast 3.50:1

Card sample

#6148df text on a white background

contrast 6.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6148df;
Background color
Panel with #6148df background
background-color: #6148df;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(97, 72, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(97, 72, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6148df;
background: linear-gradient(135deg, #6148df, #C548DF);

Monochromatic scale

Palettes built from #6148df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6148df in the Color Lab