Skip to content

#3968cf

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

RGB
57, 104, 207
HSL
221°, 61%, 52%
CMYK
73, 50, 0, 19
Luminance
0.1528

At a glance

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

Hex
#3968cf
Hue
221°
blue
Saturation
61%
vivid
Lightness
52%
balanced
Brightness
81%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1528
WCAG relative
Temperature
Cool
94/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.18:1
Closest name
Royal Blue
ΔE2000 2.9
Where it sits
Hue221° of 360°
Saturation61%
Lightness52%
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#3968cf
RGBrgb(57, 104, 207)
HSLhsl(221, 61%, 52%)
CMYKcmyk(73%, 50%, 0%, 19%)
LABlab(46.0 19.3 -58.0)
LCHlch(46.0 61.1 288.4)
OKLCHoklch(0.541 0.168 263.4)
Decimal3762383
Display P3color(display-p3 0.224 0.408 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3968cf on white: 5.18:1
AA ✓ pass · AA-large · AAA
Aa
#3968cf on black: 4.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2B74D3
deuteranopia · #0066CD
tritanopia · #008192

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #3968cf is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F6FB
#E8EDF7
#CCD7F0
#A5BAE9
#7898DE
#4A75D3
#3968cf
#284FA4
#203F83
#1B3060
#111E3C
Base = 600Lightest = 50 · #F4F6FBDarkest = 950 · #111E3C
:root {
  --brand-50: #F4F6FB;
  --brand-100: #E8EDF7;
  --brand-200: #CCD7F0;
  --brand-300: #A5BAE9;
  --brand-400: #7898DE;
  --brand-500: #4A75D3;
  --brand-600: #3968cf;
  --brand-700: #284FA4;
  --brand-800: #203F83;
  --brand-900: #1B3060;
  --brand-950: #111E3C;
  --brand: #3968cf;
  --brand-ink: #ffffff;
}

Colors that work with #3968cf

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#F4F6FA
Tinted page background
Border#C0CEED
Hairlines and dividers
Muted text#4B649B
Captions on the surface
Accent#A85E24
Second voice, not a rival
Dark variant#193167
Hover, pressed, headers
Light variant#EAEFFA
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 #3968cf

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#CFA039
Analogous left#39B3CF
Analogous right#5539CF
Split-complement 1#CF5539
Split-complement 2#B3CF39
Triadic 1#CF3968
Triadic 2#68CF39
Tetradic#CF39B3

RGB percentages

Red22.4%
Green40.8%
Blue81.2%

CMYK percentages

Cyan72.5%
Magenta49.8%
Yellow0.0%
Key (black)18.8%

Color previews

#3968cf text on a black background

contrast 4.06:1

Card sample

#3968cf text on a white background

contrast 5.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3968cf;
Background color
Panel with #3968cf background
background-color: #3968cf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3968cf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(57, 104, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 104, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3968cf;
background: linear-gradient(135deg, #3968cf, #6E39CF);

Monochromatic scale

Palettes built from #3968cf

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.

#3968cf 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.

#3968cf, answered

What color is #3968cf?

#3968cf is a balanced vivid blue, closest to Royal Blue (ΔE2000 2.9). It sits at 221° on the hue wheel with 61% saturation and 52% lightness, which reads as cool.

What is the RGB value of #3968cf?

rgb(57, 104, 207) — 57 red, 104 green and 207 blue out of 255, or 22.4% / 40.8% / 81.2% by channel.

Is #3968cf a light or a dark color?

It is a dark color. Relative luminance is 0.1528 and perceived brightness is 43%, so white text on it reaches 5.18:1.

Should I use black or white text on #3968cf?

White. It scores 5.18:1 against #3968cf, versus 4.06:1 for black — AA at any size.

What is the complementary color of #3968cf?

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

What colors go well with #3968cf?

For interface work: #F4F6FA as the surface, #C0CEED for borders, #4B649B for secondary text, #A85E24 as an accent and #193167 for hover and pressed states. For a palette, the analogous pair #39B3CF and #5539CF stays calm, while #CFA039 is the loudest partner.

What is #3968cf in CMYK for printing?

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

Is #3968cf 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 #4139CF; nudged cooler, #2C69C3.

Work with #3968cf in the Color Lab