Skip to content

#3947eb

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

RGB
57, 71, 235
HSL
235°, 82%, 57%
CMYK
76, 70, 0, 8
Luminance
0.1137

At a glance

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

Hex
#3947eb
Hue
235°
blue
Saturation
82%
electric
Lightness
57%
balanced
Brightness
92%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1137
WCAG relative
Temperature
Cool
86/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.41:1
Closest name
Slate Blue
ΔE2000 8.1
Where it sits
Hue235° of 360°
Saturation82%
Lightness57%
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#3947eb
RGBrgb(57, 71, 235)
HSLhsl(235, 82%, 57%)
CMYKcmyk(76%, 70%, 0%, 8%)
LABlab(40.2 49.8 -83.4)
LCHlch(40.2 97.1 300.8)
OKLCHoklch(0.505 0.241 270.5)
Decimal3753963
Display P3color(display-p3 0.224 0.278 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3947eb on white: 6.41:1
AA ✓ pass · AA-large · AAA
Aa
#3947eb on black: 3.27:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0067F0
deuteranopia · #0056E8
tritanopia · #007594

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #3947eb 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.

#F2F3FC
#E6E7F9
#C6CAF6
#99A0F5
#6671F0
#3947eb
#1626DE
#1320B9
#0F1994
#0F166B
#090E43
Base = 500Lightest = 50 · #F2F3FCDarkest = 950 · #090E43
:root {
  --brand-50: #F2F3FC;
  --brand-100: #E6E7F9;
  --brand-200: #C6CAF6;
  --brand-300: #99A0F5;
  --brand-400: #6671F0;
  --brand-500: #3947eb;
  --brand-600: #1626DE;
  --brand-700: #1320B9;
  --brand-800: #0F1994;
  --brand-900: #0F166B;
  --brand-950: #090E43;
  --brand: #3947eb;
  --brand-ink: #ffffff;
}

Colors that work with #3947eb

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#4B519B
Captions on the surface
Accent#BD840F
Second voice, not a rival
Dark variant#0C1474
Hover, pressed, headers
Light variant#E8E9FD
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 #3947eb

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#EBDD39
Analogous left#39A0EB
Analogous right#8439EB
Split-complement 1#EB8439
Split-complement 2#A0EB39
Triadic 1#EB3947
Triadic 2#47EB39
Tetradic#EB39A0

RGB percentages

Red22.4%
Green27.8%
Blue92.2%

CMYK percentages

Cyan75.7%
Magenta69.8%
Yellow0.0%
Key (black)7.8%

Color previews

#3947eb text on a black background

contrast 3.27:1

Card sample

#3947eb text on a white background

contrast 6.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3947eb;
Background color
Panel with #3947eb background
background-color: #3947eb;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(57, 71, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 71, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3947eb;
background: linear-gradient(135deg, #3947eb, #A239EB);

Monochromatic scale

Palettes built from #3947eb

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.

#3947eb 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#3947eb, answered

What color is #3947eb?

#3947eb is a balanced electric blue, closest to Slate Blue (ΔE2000 8.1). It sits at 235° on the hue wheel with 82% saturation and 57% lightness, which reads as cool.

What is the RGB value of #3947eb?

rgb(57, 71, 235) — 57 red, 71 green and 235 blue out of 255, or 22.4% / 27.8% / 92.2% by channel.

Is #3947eb a light or a dark color?

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

Should I use black or white text on #3947eb?

White. It scores 6.41:1 against #3947eb, versus 3.27:1 for black — AA at any size.

What is the complementary color of #3947eb?

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

What colors go well with #3947eb?

For interface work: #F4F5FA as the surface, #C0C3ED for borders, #4B519B for secondary text, #BD840F as an accent and #0C1474 for hover and pressed states. For a palette, the analogous pair #39A0EB and #8439EB stays calm, while #EBDD39 is the loudest partner.

What is #3947eb in CMYK for printing?

cmyk(76%, 70%, 0%, 8%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #3947eb 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 #6C39EB; nudged cooler, #376BED.

Work with #3947eb in the Color Lab