Skip to content

#3945df

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

RGB
57, 69, 223
HSL
236°, 72%, 55%
CMYK
74, 69, 0, 13
Luminance
0.1045

At a glance

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

Hex
#3945df
Hue
236°
blue
Saturation
72%
vivid
Lightness
55%
balanced
Brightness
87%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1045
WCAG relative
Temperature
Cool
86/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
6.79:1
Closest name
Slate Blue
ΔE2000 8.3
Where it sits
Hue236° of 360°
Saturation72%
Lightness55%
Temperature
Warm ← → Cool86% 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#3945df
RGBrgb(57, 69, 223)
HSLhsl(236, 72%, 55%)
CMYKcmyk(74%, 69%, 0%, 13%)
LABlab(38.6 46.9 -79.2)
LCHlch(38.6 92.0 300.7)
OKLCHoklch(0.490 0.229 271.1)
Decimal3753439
Display P3color(display-p3 0.224 0.271 0.875)

Copy-ready code

/* CSS */
color: #3945df;
background-color: #3945df;
/* Tailwind (arbitrary) */
class="text-[#3945df] bg-[#3945df]"
/* SCSS */
$brand: #3945df;
/* SwiftUI */
Color(red: 0.224, green: 0.271, blue: 0.875)
/* Android */
Color.parseColor("#3945df")
/* Flutter */
Color(0xFF3945DF)
/* Python / OpenCV (BGR) */
(223, 69, 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 #3945df · 6.79:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.79:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.09:1
AA fail · AA large pass · AAA fail
Reading the other direction: #3945df as text scores 6.79:1 on white and 3.09:1 on black.

Accessibility — WCAG contrast

Aa
#3945df on white: 6.79:1
AA ✓ pass · AA-large · AAA
Aa
#3945df on black: 3.09:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0063E4
deuteranopia · #0053DC
tritanopia · #00708D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #3945df 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
#E7E8F8
#C9CCF3
#9EA4EF
#6E77E8
#3945df
#222FD3
#1C27B0
#171F8D
#151A66
#0D1040
Base = 500Lightest = 50 · #F3F4FCDarkest = 950 · #0D1040
:root {
  --brand-50: #F3F4FC;
  --brand-100: #E7E8F8;
  --brand-200: #C9CCF3;
  --brand-300: #9EA4EF;
  --brand-400: #6E77E8;
  --brand-500: #3945df;
  --brand-600: #222FD3;
  --brand-700: #1C27B0;
  --brand-800: #171F8D;
  --brand-900: #151A66;
  --brand-950: #0D1040;
  --brand: #3945df;
  --brand-ink: #ffffff;
}

Colors that work with #3945df

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#C0C3ED
Hairlines and dividers
Muted text#4B509B
Captions on the surface
Accent#B48218
Second voice, not a rival
Dark variant#12186E
Hover, pressed, headers
Light variant#E9EAFB
Selected rows, tints
Dark surface#141524
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 #3945df

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#DFD339
Analogous left#3998DF
Analogous right#8039DF
Split-complement 1#DF8039
Split-complement 2#98DF39
Triadic 1#DF3945
Triadic 2#45DF39
Tetradic#DF3998

RGB percentages

Red22.4%
Green27.1%
Blue87.5%

CMYK percentages

Cyan74.4%
Magenta69.1%
Yellow0.0%
Key (black)12.5%

Color previews

#3945df text on a black background

contrast 3.09:1

Card sample

#3945df text on a white background

contrast 6.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3945df

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.

#3945df 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.

#3945df, answered

What color is #3945df?

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

What is the RGB value of #3945df?

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

Is #3945df a light or a dark color?

It is a dark color. Relative luminance is 0.1045 and perceived brightness is 38%, so white text on it reaches 6.79:1.

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

White. It scores 6.79:1 against #3945df, versus 3.09:1 for black — AA at any size.

What is the complementary color of #3945df?

#DFD339 sits directly opposite on the wheel. Softer options are the split-complements #DF8039 and #98DF39, which give the same contrast with far less vibration.

What colors go well with #3945df?

For interface work: #F4F5FA as the surface, #C0C3ED for borders, #4B509B for secondary text, #B48218 as an accent and #12186E for hover and pressed states. For a palette, the analogous pair #3998DF and #8039DF stays calm, while #DFD339 is the loudest partner.

What is #3945df in CMYK for printing?

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

Is #3945df warm or cool?

Cool — it scores 86 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6A39DF; nudged cooler, #3768E1.

Work with #3945df in the Color Lab