Skip to content

#3f62df

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

RGB
63, 98, 223
HSL
227°, 71%, 56%
CMYK
72, 56, 0, 13
Luminance
0.1512

At a glance

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

Hex
#3f62df
Hue
227°
blue
Saturation
71%
vivid
Lightness
56%
balanced
Brightness
87%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1512
WCAG relative
Temperature
Cool
91/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.22:1
Closest name
Royal Blue
ΔE2000 2.4
Where it sits
Hue227° of 360°
Saturation71%
Lightness56%
Temperature
Warm ← → Cool91% 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#3f62df
RGBrgb(63, 98, 223)
HSLhsl(227, 71%, 56%)
CMYKcmyk(72%, 56%, 0%, 13%)
LABlab(45.8 29.7 -67.4)
LCHlch(45.8 73.7 293.8)
OKLCHoklch(0.544 0.195 267.6)
Decimal4154079
Display P3color(display-p3 0.247 0.384 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f62df on white: 5.22:1
AA ✓ pass · AA-large · AAA
Aa
#3f62df on black: 4.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0074E3
deuteranopia · #0065DD
tritanopia · #008197

Color scale — 50 to 950

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

#F3F5FC
#E7EBF8
#C9D2F3
#9FB0EF
#6F89E7
#3f62df
#2349D2
#1D3DAF
#17318C
#152765
#0D183F
Base = 500Lightest = 50 · #F3F5FCDarkest = 950 · #0D183F
:root {
  --brand-50: #F3F5FC;
  --brand-100: #E7EBF8;
  --brand-200: #C9D2F3;
  --brand-300: #9FB0EF;
  --brand-400: #6F89E7;
  --brand-500: #3f62df;
  --brand-600: #2349D2;
  --brand-700: #1D3DAF;
  --brand-800: #17318C;
  --brand-900: #152765;
  --brand-950: #0D183F;
  --brand: #3f62df;
  --brand-ink: #ffffff;
}

Colors that work with #3f62df

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#C0CAED
Hairlines and dividers
Muted text#4B5C9B
Captions on the surface
Accent#B36B19
Second voice, not a rival
Dark variant#12266D
Hover, pressed, headers
Light variant#E9EDFB
Selected rows, tints
Dark surface#141724
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 #3f62df

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#DFBC3F
Analogous left#3FB2DF
Analogous right#6C3FDF
Split-complement 1#DF6C3F
Split-complement 2#B2DF3F
Triadic 1#DF3F62
Triadic 2#62DF3F
Tetradic#DF3FB2

RGB percentages

Red24.7%
Green38.4%
Blue87.5%

CMYK percentages

Cyan71.7%
Magenta56.1%
Yellow0.0%
Key (black)12.5%

Color previews

#3f62df text on a black background

contrast 4.02:1

Card sample

#3f62df text on a white background

contrast 5.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(63, 98, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 98, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f62df;
background: linear-gradient(135deg, #3f62df, #873FDF);

Monochromatic scale

Palettes built from #3f62df

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.

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

#3f62df, answered

What color is #3f62df?

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

What is the RGB value of #3f62df?

rgb(63, 98, 223) — 63 red, 98 green and 223 blue out of 255, or 24.7% / 38.4% / 87.5% by channel.

Is #3f62df a light or a dark color?

It is a dark color. Relative luminance is 0.1512 and perceived brightness is 44%, so white text on it reaches 5.22:1.

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

White. It scores 5.22:1 against #3f62df, versus 4.02:1 for black — AA at any size.

What is the complementary color of #3f62df?

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

What colors go well with #3f62df?

For interface work: #F4F6FA as the surface, #C0CAED for borders, #4B5C9B for secondary text, #B36B19 as an accent and #12266D for hover and pressed states. For a palette, the analogous pair #3FB2DF and #6C3FDF stays calm, while #DFBC3F is the loudest partner.

What is #3f62df in CMYK for printing?

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

Is #3f62df warm or cool?

Cool — it scores 91 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #573FDF; nudged cooler, #3D78E1.

Work with #3f62df in the Color Lab