Skip to content

#3937eb

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

RGB
57, 55, 235
HSL
241°, 82%, 57%
CMYK
76, 77, 0, 8
Luminance
0.0960

At a glance

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

Hex
#3937eb
Hue
241°
blue
Saturation
82%
electric
Lightness
57%
balanced
Brightness
92%
HSV value
Perceived
37%
weighted brightness
Luminance
0.0960
WCAG relative
Temperature
Cool
83/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.19:1
Closest name
Blue
ΔE2000 6.1
Where it sits
Hue241° of 360°
Saturation82%
Lightness57%
Temperature
Warm ← → Cool83% 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#3937eb
RGBrgb(57, 55, 235)
HSLhsl(241, 82%, 57%)
CMYKcmyk(76%, 77%, 0%, 8%)
LABlab(37.1 58.4 -88.5)
LCHlch(37.1 106.1 303.4)
OKLCHoklch(0.483 0.256 271.9)
Decimal3749867
Display P3color(display-p3 0.224 0.216 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3937eb on white: 7.19:1
AA ✓ pass · AA-large · AAA
Aa
#3937eb on black: 2.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0060F0
deuteranopia · #004EE8
tritanopia · #006E90

Color scale — 50 to 950

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

#F3F2FC
#E6E6F9
#C7C6F6
#9A99F5
#6866F0
#3937eb
#1916DF
#1513B9
#100F94
#100F6B
#0A0943
Base = 500Lightest = 50 · #F3F2FCDarkest = 950 · #0A0943
:root {
  --brand-50: #F3F2FC;
  --brand-100: #E6E6F9;
  --brand-200: #C7C6F6;
  --brand-300: #9A99F5;
  --brand-400: #6866F0;
  --brand-500: #3937eb;
  --brand-600: #1916DF;
  --brand-700: #1513B9;
  --brand-800: #100F94;
  --brand-900: #100F6B;
  --brand-950: #0A0943;
  --brand: #3937eb;
  --brand-ink: #ffffff;
}

Colors that work with #3937eb

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#F4F4FA
Tinted page background
Border#C0C0ED
Hairlines and dividers
Muted text#4C4B9B
Captions on the surface
Accent#BD930F
Second voice, not a rival
Dark variant#0D0C74
Hover, pressed, headers
Light variant#E8E8FD
Selected rows, tints
Dark surface#141424
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 #3937eb

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
  • Text on black or near-black surfaces
  • 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#E9EB37
Analogous left#378FEB
Analogous right#9337EB
Split-complement 1#EB9337
Split-complement 2#8FEB37
Triadic 1#EB3937
Triadic 2#37EB39
Tetradic#EB378F

RGB percentages

Red22.4%
Green21.6%
Blue92.2%

CMYK percentages

Cyan75.7%
Magenta76.6%
Yellow0.0%
Key (black)7.8%

Color previews

#3937eb text on a black background

contrast 2.92:1

Card sample

#3937eb text on a white background

contrast 7.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3937eb

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.

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

#3937eb, answered

What color is #3937eb?

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

What is the RGB value of #3937eb?

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

Is #3937eb a light or a dark color?

It is a dark color. Relative luminance is 0.0960 and perceived brightness is 37%, so white text on it reaches 7.19:1.

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

White. It scores 7.19:1 against #3937eb, versus 2.92:1 for black — AAA at any size.

What is the complementary color of #3937eb?

#E9EB37 sits directly opposite on the wheel. Softer options are the split-complements #EB9337 and #8FEB37, which give the same contrast with far less vibration.

What colors go well with #3937eb?

For interface work: #F4F4FA as the surface, #C0C0ED for borders, #4C4B9B for secondary text, #BD930F as an accent and #0D0C74 for hover and pressed states. For a palette, the analogous pair #378FEB and #9337EB stays calm, while #E9EB37 is the loudest partner.

What is #3937eb in CMYK for printing?

cmyk(76%, 77%, 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 #3937eb warm or cool?

Cool — it scores 83 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7B37EB; nudged cooler, #3561ED.

Work with #3937eb in the Color Lab