Skip to content

#3952df

a balanced, vivid blue · cool · closest name: Slate Blue

RGB
57, 82, 223
HSL
231°, 72%, 55%
CMYK
74, 63, 0, 13
Luminance
0.1223

At a glance

Every number on this page in one read: what #3952df is made of, how bright it looks, and which way it leans.

Hex
#3952df
Hue
231°
blue
Saturation
72%
vivid
Lightness
55%
balanced
Brightness
87%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1223
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
6.09:1
Closest name
Slate Blue
ΔE2000 7
Where it sits
Hue231° of 360°
Saturation72%
Lightness55%
Temperature
Warm ← → Cool88% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#3952df
RGBrgb(57, 82, 223)
HSLhsl(231, 72%, 55%)
CMYKcmyk(74%, 63%, 0%, 13%)
LABlab(41.6 39.0 -74.3)
LCHlch(41.6 84.0 297.7)
OKLCHoklch(0.512 0.215 269.3)
Decimal3756767
Display P3color(display-p3 0.224 0.322 0.875)

Copy-ready code

/* CSS */
color: #3952df;
background-color: #3952df;
/* Tailwind (arbitrary) */
class="text-[#3952df] bg-[#3952df]"
/* SCSS */
$brand: #3952df;
/* SwiftUI */
Color(red: 0.224, green: 0.322, blue: 0.875)
/* Android */
Color.parseColor("#3952df")
/* Flutter */
Color(0xFF3952DF)
/* Python / OpenCV (BGR) */
(223, 82, 57)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #3952df · 6.09:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.09:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.45:1
AA fail · AA large pass · AAA fail
Reading the other direction: #3952df as text scores 6.09:1 on white and 3.45:1 on black.

Accessibility — WCAG contrast

Aa
#3952df on white: 6.09:1
AA ✓ pass · AA-large · AAA
Aa
#3952df on black: 3.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006AE4
deuteranopia · #005ADC
tritanopia · #007791

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #3952df is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3F4FC
#E7EAF8
#C9CFF3
#9EABEF
#6E80E8
#3952df
#223DD3
#1C32B0
#17288D
#152166
#0D1440
Base = 500Lightest = 50 · #F3F4FCDarkest = 950 · #0D1440
:root {
  --brand-50: #F3F4FC;
  --brand-100: #E7EAF8;
  --brand-200: #C9CFF3;
  --brand-300: #9EABEF;
  --brand-400: #6E80E8;
  --brand-500: #3952df;
  --brand-600: #223DD3;
  --brand-700: #1C32B0;
  --brand-800: #17288D;
  --brand-900: #152166;
  --brand-950: #0D1440;
  --brand: #3952df;
  --brand-ink: #ffffff;
}

Colors that work with #3952df

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F5FA
Tinted page background
Border#C0C6ED
Hairlines and dividers
Muted text#4B579B
Captions on the surface
Accent#B47618
Second voice, not a rival
Dark variant#12206E
Hover, pressed, headers
Light variant#E9ECFB
Selected rows, tints
Dark surface#141624
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #3952df

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#DFC639
Analogous left#39A5DF
Analogous right#7339DF
Split-complement 1#DF7339
Split-complement 2#A5DF39
Triadic 1#DF3952
Triadic 2#52DF39
Tetradic#DF39A5

RGB percentages

Red22.4%
Green32.2%
Blue87.5%

CMYK percentages

Cyan74.4%
Magenta63.2%
Yellow0.0%
Key (black)12.5%

Color previews

#3952df text on a black background

contrast 3.45:1

Card sample

#3952df text on a white background

contrast 6.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3952df

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#3952df in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#3952df, answered

What color is #3952df?

#3952df is a balanced vivid blue, closest to Slate Blue (ΔE2000 7). It sits at 231° on the hue wheel with 72% saturation and 55% lightness, which reads as cool.

What is the RGB value of #3952df?

rgb(57, 82, 223) — 57 red, 82 green and 223 blue out of 255, or 22.4% / 32.2% / 87.5% by channel.

Is #3952df a light or a dark color?

It is a dark color. Relative luminance is 0.1223 and perceived brightness is 40%, so white text on it reaches 6.09:1.

Should I use black or white text on #3952df?

White. It scores 6.09:1 against #3952df, versus 3.45:1 for black — AA at any size.

What is the complementary color of #3952df?

#DFC639 sits directly opposite on the wheel. Softer options are the split-complements #DF7339 and #A5DF39, which give the same contrast with far less vibration.

What colors go well with #3952df?

For interface work: #F4F5FA as the surface, #C0C6ED for borders, #4B579B for secondary text, #B47618 as an accent and #12206E for hover and pressed states. For a palette, the analogous pair #39A5DF and #7339DF stays calm, while #DFC639 is the loudest partner.

What is #3952df in CMYK for printing?

cmyk(74%, 63%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #3952df warm or cool?

Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5D39DF; nudged cooler, #376EE1.

Work with #3952df in the Color Lab