Skip to content

#3950eb

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

RGB
57, 80, 235
HSL
232°, 82%, 57%
CMYK
76, 66, 0, 8
Luminance
0.1261

At a glance

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

Hex
#3950eb
Hue
232°
blue
Saturation
82%
electric
Lightness
57%
balanced
Brightness
92%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1261
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Electric
Best ink
White
5.96:1
Closest name
Slate Blue
ΔE2000 7.2
Where it sits
Hue232° of 360°
Saturation82%
Lightness57%
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#3950eb
RGBrgb(57, 80, 235)
HSLhsl(232, 82%, 57%)
CMYKcmyk(76%, 66%, 0%, 8%)
LABlab(42.2 44.4 -80.2)
LCHlch(42.2 91.7 299.0)
OKLCHoklch(0.519 0.232 269.4)
Decimal3756267
Display P3color(display-p3 0.224 0.314 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3950eb on white: 5.96:1
AA ✓ pass · AA-large · AAA
Aa
#3950eb on black: 3.52:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006CF0
deuteranopia · #005BE8
tritanopia · #007A97

Color scale — 50 to 950

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

#F2F4FC
#E6E8F9
#C6CCF6
#99A5F5
#6678F0
#3950eb
#1630DE
#1328B9
#0F2094
#0F1B6B
#091143
Base = 500Lightest = 50 · #F2F4FCDarkest = 950 · #091143
:root {
  --brand-50: #F2F4FC;
  --brand-100: #E6E8F9;
  --brand-200: #C6CCF6;
  --brand-300: #99A5F5;
  --brand-400: #6678F0;
  --brand-500: #3950eb;
  --brand-600: #1630DE;
  --brand-700: #1328B9;
  --brand-800: #0F2094;
  --brand-900: #0F1B6B;
  --brand-950: #091143;
  --brand: #3950eb;
  --brand-ink: #ffffff;
}

Colors that work with #3950eb

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#4B559B
Captions on the surface
Accent#BD7B0F
Second voice, not a rival
Dark variant#0C1974
Hover, pressed, headers
Light variant#E8EBFD
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 #3950eb

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#EBD439
Analogous left#39A9EB
Analogous right#7B39EB
Split-complement 1#EB7B39
Split-complement 2#A9EB39
Triadic 1#EB3950
Triadic 2#50EB39
Tetradic#EB39A9

RGB percentages

Red22.4%
Green31.4%
Blue92.2%

CMYK percentages

Cyan75.7%
Magenta66.0%
Yellow0.0%
Key (black)7.8%

Color previews

#3950eb text on a black background

contrast 3.52:1

Card sample

#3950eb text on a white background

contrast 5.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3950eb

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.

#3950eb 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.

#3950eb, answered

What color is #3950eb?

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

What is the RGB value of #3950eb?

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

Is #3950eb a light or a dark color?

It is a dark color. Relative luminance is 0.1261 and perceived brightness is 41%, so white text on it reaches 5.96:1.

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

White. It scores 5.96:1 against #3950eb, versus 3.52:1 for black — AA at any size.

What is the complementary color of #3950eb?

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

What colors go well with #3950eb?

For interface work: #F4F5FA as the surface, #C0C6ED for borders, #4B559B for secondary text, #BD7B0F as an accent and #0C1974 for hover and pressed states. For a palette, the analogous pair #39A9EB and #7B39EB stays calm, while #EBD439 is the loudest partner.

What is #3950eb in CMYK for printing?

cmyk(76%, 66%, 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 #3950eb 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 #6339EB; nudged cooler, #376FED.

Work with #3950eb in the Color Lab