Skip to content

#3e71df

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

RGB
62, 113, 223
HSL
221°, 72%, 56%
CMYK
72, 49, 0, 13
Luminance
0.1816

At a glance

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

Hex
#3e71df
Hue
221°
blue
Saturation
72%
vivid
Lightness
56%
balanced
Brightness
87%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1816
WCAG relative
Temperature
Cool
94/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
4.63:1
Closest name
Royal Blue
ΔE2000 3.1
Where it sits
Hue221° of 360°
Saturation72%
Lightness56%
Temperature
Warm ← → Cool94% 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#3e71df
RGBrgb(62, 113, 223)
HSLhsl(221, 72%, 56%)
CMYKcmyk(72%, 49%, 0%, 13%)
LABlab(49.7 20.1 -61.1)
LCHlch(49.7 64.3 288.2)
OKLCHoklch(0.573 0.177 263.2)
Decimal4092383
Display P3color(display-p3 0.243 0.443 0.875)

Copy-ready code

/* CSS */
color: #3e71df;
background-color: #3e71df;
/* Tailwind (arbitrary) */
class="text-[#3e71df] bg-[#3e71df]"
/* SCSS */
$brand: #3e71df;
/* SwiftUI */
Color(red: 0.243, green: 0.443, blue: 0.875)
/* Android */
Color.parseColor("#3e71df")
/* Flutter */
Color(0xFF3E71DF)
/* Python / OpenCV (BGR) */
(223, 113, 62)

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#000000 on #3e71df · 4.63:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.53:1
AA pass · AA large pass · AAA fail
Aa
Black text · 4.63:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #3e71df as text scores 4.53:1 on white and 4.63:1 on black.

Accessibility — WCAG contrast

Aa
#3e71df on white: 4.53:1
AA ✓ pass · AA-large · AAA
Aa
#3e71df on black: 4.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #307EE3
deuteranopia · #006FDD
tritanopia · #008B9D

Color scale — 50 to 950

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

#F3F6FC
#E7EDF8
#C9D6F3
#9FB8EF
#6F95E7
#3e71df
#235AD2
#1D4BAF
#173C8C
#152E66
#0D1D3F
Base = 500Lightest = 50 · #F3F6FCDarkest = 950 · #0D1D3F
:root {
  --brand-50: #F3F6FC;
  --brand-100: #E7EDF8;
  --brand-200: #C9D6F3;
  --brand-300: #9FB8EF;
  --brand-400: #6F95E7;
  --brand-500: #3e71df;
  --brand-600: #235AD2;
  --brand-700: #1D4BAF;
  --brand-800: #173C8C;
  --brand-900: #152E66;
  --brand-950: #0D1D3F;
  --brand: #3e71df;
  --brand-ink: #000000;
}

Colors that work with #3e71df

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

Text on it#000000
Black wins here
Surface#F4F6FA
Tinted page background
Border#C0CEED
Hairlines and dividers
Muted text#4B649B
Captions on the surface
Accent#B35B19
Second voice, not a rival
Dark variant#122F6D
Hover, pressed, headers
Light variant#E9EFFB
Selected rows, tints
Dark surface#141924
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 #3e71df

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

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • 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#DFAC3E
Analogous left#3EC2DF
Analogous right#5C3EDF
Split-complement 1#DF5C3E
Split-complement 2#C2DF3E
Triadic 1#DF3E71
Triadic 2#71DF3E
Tetradic#DF3EC2

RGB percentages

Red24.3%
Green44.3%
Blue87.5%

CMYK percentages

Cyan72.2%
Magenta49.3%
Yellow0.0%
Key (black)12.5%

Color previews

#3e71df text on a black background

contrast 4.63:1

Card sample

#3e71df text on a white background

contrast 4.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3e71df;
Background color
Panel with #3e71df background
background-color: #3e71df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3e71df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(62, 113, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(62, 113, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3e71df;
background: linear-gradient(135deg, #3e71df, #763EDF);

Monochromatic scale

Palettes built from #3e71df

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.

#3e71df 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.

#3e71df, answered

What color is #3e71df?

#3e71df is a balanced vivid blue, closest to Royal Blue (ΔE2000 3.1). It sits at 221° on the hue wheel with 72% saturation and 56% lightness, which reads as cool.

What is the RGB value of #3e71df?

rgb(62, 113, 223) — 62 red, 113 green and 223 blue out of 255, or 24.3% / 44.3% / 87.5% by channel.

Is #3e71df a light or a dark color?

It is a mid-tone. Relative luminance is 0.1816 and perceived brightness is 47%, so black text on it reaches 4.63:1.

Should I use black or white text on #3e71df?

Black. It scores 4.63:1 against #3e71df, versus 4.53:1 for white — AA at any size.

What is the complementary color of #3e71df?

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

What colors go well with #3e71df?

For interface work: #F4F6FA as the surface, #C0CEED for borders, #4B649B for secondary text, #B35B19 as an accent and #122F6D for hover and pressed states. For a palette, the analogous pair #3EC2DF and #5C3EDF stays calm, while #DFAC3E is the loudest partner.

What is #3e71df in CMYK for printing?

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

Is #3e71df warm or cool?

Cool — it scores 94 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #463EDF; nudged cooler, #2670DE.

Work with #3e71df in the Color Lab