Skip to content

#3f6eb3

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

RGB
63, 110, 179
HSL
216°, 48%, 48%
CMYK
65, 39, 0, 30
Luminance
0.1546

At a glance

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

Hex
#3f6eb3
Hue
216°
blue
Saturation
48%
vivid
Lightness
48%
balanced
Brightness
70%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1546
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.13:1
Closest name
Royal Blue
ΔE2000 6.3
Where it sits
Hue216° of 360°
Saturation48%
Lightness48%
Temperature
Warm ← → Cool97% 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#3f6eb3
RGBrgb(63, 110, 179)
HSLhsl(216, 48%, 48%)
CMYKcmyk(65%, 39%, 0%, 30%)
LABlab(46.3 6.3 -41.4)
LCHlch(46.3 41.9 278.7)
OKLCHoklch(0.538 0.120 258.0)
Decimal4157107
Display P3color(display-p3 0.247 0.431 0.702)

Copy-ready code

/* CSS */
color: #3f6eb3;
background-color: #3f6eb3;
/* Tailwind (arbitrary) */
class="text-[#3f6eb3] bg-[#3f6eb3]"
/* SCSS */
$brand: #3f6eb3;
/* SwiftUI */
Color(red: 0.247, green: 0.431, blue: 0.702)
/* Android */
Color.parseColor("#3f6eb3")
/* Flutter */
Color(0xFF3F6EB3)
/* Python / OpenCV (BGR) */
(179, 110, 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#ffffff on #3f6eb3 · 5.13:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.13:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.09:1
AA fail · AA large pass · AAA fail
Reading the other direction: #3f6eb3 as text scores 5.13:1 on white and 4.09:1 on black.

Accessibility — WCAG contrast

Aa
#3f6eb3 on white: 5.13:1
AA ✓ pass · AA-large · AAA
Aa
#3f6eb3 on black: 4.09:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5073B6
deuteranopia · #3F69B2
tritanopia · #007E88

Color scale — 50 to 950

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

#F4F7FA
#EAEFF5
#D0DBEC
#ACC2E2
#83A3D3
#5985C5
#3f6eb3
#355D97
#2B4A79
#223858
#152337
Base = 600Lightest = 50 · #F4F7FADarkest = 950 · #152337
:root {
  --brand-50: #F4F7FA;
  --brand-100: #EAEFF5;
  --brand-200: #D0DBEC;
  --brand-300: #ACC2E2;
  --brand-400: #83A3D3;
  --brand-500: #5985C5;
  --brand-600: #3f6eb3;
  --brand-700: #355D97;
  --brand-800: #2B4A79;
  --brand-900: #223858;
  --brand-950: #152337;
  --brand: #3f6eb3;
  --brand-ink: #ffffff;
}

Colors that work with #3f6eb3

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#F4F7FA
Tinted page background
Border#C3D2EA
Hairlines and dividers
Muted text#4B6B9B
Captions on the surface
Accent#B8663A
Second voice, not a rival
Dark variant#213A5E
Hover, pressed, headers
Light variant#ECF1F8
Selected rows, tints
Dark surface#141A24
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 #3f6eb3

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#B3843F
Analogous left#3FA8B3
Analogous right#4A3FB3
Split-complement 1#B34A3F
Split-complement 2#A8B33F
Triadic 1#B33F6E
Triadic 2#6EB33F
Tetradic#B33FA8

RGB percentages

Red24.7%
Green43.1%
Blue70.2%

CMYK percentages

Cyan64.8%
Magenta38.5%
Yellow0.0%
Key (black)29.8%

Color previews

#3f6eb3 text on a black background

contrast 4.09:1

Card sample

#3f6eb3 text on a white background

contrast 5.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(63, 110, 179, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 110, 179, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f6eb3;
background: linear-gradient(135deg, #3f6eb3, #5D3FB3);

Monochromatic scale

Palettes built from #3f6eb3

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.

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

#3f6eb3, answered

What color is #3f6eb3?

#3f6eb3 is a balanced vivid blue, closest to Royal Blue (ΔE2000 6.3). It sits at 216° on the hue wheel with 48% saturation and 48% lightness, which reads as cool.

What is the RGB value of #3f6eb3?

rgb(63, 110, 179) — 63 red, 110 green and 179 blue out of 255, or 24.7% / 43.1% / 70.2% by channel.

Is #3f6eb3 a light or a dark color?

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

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

White. It scores 5.13:1 against #3f6eb3, versus 4.09:1 for black — AA at any size.

What is the complementary color of #3f6eb3?

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

What colors go well with #3f6eb3?

For interface work: #F4F7FA as the surface, #C3D2EA for borders, #4B6B9B for secondary text, #B8663A as an accent and #213A5E for hover and pressed states. For a palette, the analogous pair #3FA8B3 and #4A3FB3 stays calm, while #B3843F is the loudest partner.

What is #3f6eb3 in CMYK for printing?

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

Is #3f6eb3 warm or cool?

Cool — it scores 97 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3F44B3; nudged cooler, #3667A2.

Work with #3f6eb3 in the Color Lab