Skip to content

#3f8ecf

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

RGB
63, 142, 207
HSL
207°, 60%, 53%
CMYK
70, 31, 0, 19
Luminance
0.2491

At a glance

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

Hex
#3f8ecf
Hue
207°
blue
Saturation
60%
vivid
Lightness
53%
balanced
Brightness
81%
HSV value
Perceived
52%
weighted brightness
Luminance
0.2491
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.98:1
Closest name
Dodger Blue
ΔE2000 4.6
Where it sits
Hue207° of 360°
Saturation60%
Lightness53%
Temperature
Warm ← → Cool99% 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#3f8ecf
RGBrgb(63, 142, 207)
HSLhsl(207, 60%, 53%)
CMYKcmyk(70%, 31%, 0%, 19%)
LABlab(57.0 -3.1 -40.5)
LCHlch(57.0 40.6 265.6)
OKLCHoklch(0.627 0.125 246.5)
Decimal4165327
Display P3color(display-p3 0.247 0.557 0.812)

Copy-ready code

/* CSS */
color: #3f8ecf;
background-color: #3f8ecf;
/* Tailwind (arbitrary) */
class="text-[#3f8ecf] bg-[#3f8ecf]"
/* SCSS */
$brand: #3f8ecf;
/* SwiftUI */
Color(red: 0.247, green: 0.557, blue: 0.812)
/* Android */
Color.parseColor("#3f8ecf")
/* Flutter */
Color(0xFF3F8ECF)
/* Python / OpenCV (BGR) */
(207, 142, 63)

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

Accessibility — WCAG contrast

Aa
#3f8ecf on white: 3.51:1
AA ✗ fail · AA-large · AAA
Aa
#3f8ecf on black: 5.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7190D2
deuteranopia · #5D83CE
tritanopia · #009EA5

Color scale — 50 to 950

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

#F4F8FB
#E9F0F7
#CCE0EF
#A5CAE9
#78B0DD
#3f8ecf
#3181C4
#296CA3
#215683
#1B405F
#11283B
Base = 500Lightest = 50 · #F4F8FBDarkest = 950 · #11283B
:root {
  --brand-50: #F4F8FB;
  --brand-100: #E9F0F7;
  --brand-200: #CCE0EF;
  --brand-300: #A5CAE9;
  --brand-400: #78B0DD;
  --brand-500: #3f8ecf;
  --brand-600: #3181C4;
  --brand-700: #296CA3;
  --brand-800: #215683;
  --brand-900: #1B405F;
  --brand-950: #11283B;
  --brand: #3f8ecf;
  --brand-ink: #000000;
}

Colors that work with #3f8ecf

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#F4F8FA
Tinted page background
Border#C0D8ED
Hairlines and dividers
Muted text#4B779B
Captions on the surface
Accent#D4593A
Second voice, not a rival
Dark variant#1A4366
Hover, pressed, headers
Light variant#EBF3FA
Selected rows, tints
Dark surface#141D24
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 #3f8ecf

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

Works well for
  • Headings from 24px up 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
  • Small text on white — under 4.5:1
  • 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#CF803F
Analogous left#3FCFC8
Analogous right#3F46CF
Split-complement 1#CF3F46
Split-complement 2#CFC83F
Triadic 1#CF3F8E
Triadic 2#8ECF3F
Tetradic#C83FCF

RGB percentages

Red24.7%
Green55.7%
Blue81.2%

CMYK percentages

Cyan69.6%
Magenta31.4%
Yellow0.0%
Key (black)18.8%

Color previews

#3f8ecf text on a black background

contrast 5.98:1

Card sample

#3f8ecf text on a white background

contrast 3.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(63, 142, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 142, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f8ecf;
background: linear-gradient(135deg, #3f8ecf, #503FCF);

Monochromatic scale

Palettes built from #3f8ecf

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.

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

#3f8ecf, answered

What color is #3f8ecf?

#3f8ecf is a balanced vivid blue, closest to Dodger Blue (ΔE2000 4.6). It sits at 207° on the hue wheel with 60% saturation and 53% lightness, which reads as cool.

What is the RGB value of #3f8ecf?

rgb(63, 142, 207) — 63 red, 142 green and 207 blue out of 255, or 24.7% / 55.7% / 81.2% by channel.

Is #3f8ecf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2491 and perceived brightness is 52%, so black text on it reaches 5.98:1.

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

Black. It scores 5.98:1 against #3f8ecf, versus 3.51:1 for white — AA at any size.

What is the complementary color of #3f8ecf?

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

What colors go well with #3f8ecf?

For interface work: #F4F8FA as the surface, #C0D8ED for borders, #4B779B for secondary text, #D4593A as an accent and #1A4366 for hover and pressed states. For a palette, the analogous pair #3FCFC8 and #3F46CF stays calm, while #CF803F is the loudest partner.

What is #3f8ecf in CMYK for printing?

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

Is #3f8ecf warm or cool?

Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3F59CF; nudged cooler, #2E7BC6.

Work with #3f8ecf in the Color Lab