Skip to content

#3f4fac

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

RGB
63, 79, 172
HSL
231°, 46%, 46%
CMYK
63, 54, 0, 33
Luminance
0.0963

Every format

HEX#3f4fac
RGBrgb(63, 79, 172)
HSLhsl(231, 46%, 46%)
CMYKcmyk(63%, 54%, 0%, 33%)
LABlab(37.2 23.7 -51.9)
LCHlch(37.2 57.0 294.5)
OKLCHoklch(0.467 0.149 272.0)

Copy-ready code

/* CSS */
color: #3f4fac;
background-color: #3f4fac;
/* Tailwind (arbitrary) */
class="text-[#3f4fac] bg-[#3f4fac]"
/* SCSS */
$brand: #3f4fac;
/* SwiftUI */
Color(red: 0.247, green: 0.310, blue: 0.675)
/* Android */
Color.parseColor("#3f4fac")

Accessibility — WCAG contrast

Aa
#3f4fac on white: 7.18:1
AA ✓ pass · AA-large · AAA
Aa
#3f4fac on black: 2.93:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red24.7%
Green31.0%
Blue67.5%

CMYK percentages

Cyan63.4%
Magenta54.1%
Yellow0.0%
Key (black)32.5%

Color previews

#3f4fac text on a black background

contrast 2.93:1

Card sample

#3f4fac text on a white background

contrast 7.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3f4fac;
Background color
Panel with #3f4fac background
background-color: #3f4fac;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(63, 79, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 79, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f4fac;
background: linear-gradient(135deg, #3f4fac, #783FAC);

Monochromatic scale

Palettes built from #3f4fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3f4fac in the Color Lab