Skip to content

#647cff

a light, electric blue · cool · closest name: Medium Slate Blue

RGB
100, 124, 255
HSL
231°, 100%, 70%
CMYK
61, 51, 0, 0
Luminance
0.2434

At a glance

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

Hex
#647cff
Hue
231°
blue
Saturation
100%
electric
Lightness
70%
light
Brightness
100%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2434
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.87:1
Closest name
Medium Slate Blue
ΔE2000 8.2
Where it sits
Hue231° of 360°
Saturation100%
Lightness70%
Temperature
Warm ← → Cool88% 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#647cff
RGBrgb(100, 124, 255)
HSLhsl(231, 100%, 70%)
CMYKcmyk(61%, 51%, 0%, 0%)
LABlab(56.4 30.1 -68.0)
LCHlch(56.4 74.4 293.9)
OKLCHoklch(0.636 0.195 271.9)
Decimal6585599
Display P3color(display-p3 0.392 0.486 1.000)

Copy-ready code

/* CSS */
color: #647cff;
background-color: #647cff;
/* Tailwind (arbitrary) */
class="text-[#647cff] bg-[#647cff]"
/* SCSS */
$brand: #647cff;
/* SwiftUI */
Color(red: 0.392, green: 0.486, blue: 1.000)
/* Android */
Color.parseColor("#647cff")
/* Flutter */
Color(0xFF647CFF)
/* Python / OpenCV (BGR) */
(255, 124, 100)

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

Accessibility — WCAG contrast

Aa
#647cff on white: 3.58:1
AA ✗ fail · AA-large · AAA
Aa
#647cff on black: 5.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2D8EFF
deuteranopia · #0081FC
tritanopia · #009AB2

Color scale — 50 to 950

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

#F1F3FE
#E3E7FC
#C0C9FC
#8FA0FF
#647cff
#1F41FF
#0026F5
#0020CC
#0019A3
#051676
#030E49
Base = 400Lightest = 50 · #F1F3FEDarkest = 950 · #030E49
:root {
  --brand-50: #F1F3FE;
  --brand-100: #E3E7FC;
  --brand-200: #C0C9FC;
  --brand-300: #8FA0FF;
  --brand-400: #647cff;
  --brand-500: #1F41FF;
  --brand-600: #0026F5;
  --brand-700: #0020CC;
  --brand-800: #0019A3;
  --brand-900: #051676;
  --brand-950: #030E49;
  --brand: #647cff;
  --brand-ink: #000000;
}

Colors that work with #647cff

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#F4F5FA
Tinted page background
Border#C0C7ED
Hairlines and dividers
Muted text#4B579B
Captions on the surface
Accent#CC7900
Second voice, not a rival
Dark variant#001480
Hover, pressed, headers
Light variant#E5E9FF
Selected rows, tints
Dark surface#141624
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 #647cff

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
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#FFE764
Analogous left#64CAFF
Analogous right#9964FF
Split-complement 1#FF9964
Split-complement 2#CAFF64
Triadic 1#FF647C
Triadic 2#7CFF64
Tetradic#FF64CA

RGB percentages

Red39.2%
Green48.6%
Blue100.0%

CMYK percentages

Cyan60.8%
Magenta51.4%
Yellow0.0%
Key (black)0.0%

Color previews

#647cff text on a black background

contrast 5.87:1

Card sample

#647cff text on a white background

contrast 3.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #647cff;
Background color
Panel with #647cff background
background-color: #647cff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #647cff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(100, 124, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(100, 124, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #647cff;
background: linear-gradient(135deg, #647cff, #B364FF);

Monochromatic scale

Palettes built from #647cff

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.

#647cff 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#647cff, answered

What color is #647cff?

#647cff is a light electric blue, closest to Medium Slate Blue (ΔE2000 8.2). It sits at 231° on the hue wheel with 100% saturation and 70% lightness, which reads as cool.

What is the RGB value of #647cff?

rgb(100, 124, 255) — 100 red, 124 green and 255 blue out of 255, or 39.2% / 48.6% / 100% by channel.

Is #647cff a light or a dark color?

It is a mid-tone. Relative luminance is 0.2434 and perceived brightness is 55%, so black text on it reaches 5.87:1.

Should I use black or white text on #647cff?

Black. It scores 5.87:1 against #647cff, versus 3.58:1 for white — AA at any size.

What is the complementary color of #647cff?

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

What colors go well with #647cff?

For interface work: #F4F5FA as the surface, #C0C7ED for borders, #4B579B for secondary text, #CC7900 as an accent and #001480 for hover and pressed states. For a palette, the analogous pair #64CAFF and #9964FF stays calm, while #FFE764 is the loudest partner.

What is #647cff in CMYK for printing?

cmyk(61%, 51%, 0%, 0%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #647cff warm or cool?

Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8564FF; nudged cooler, #6497FF.

Work with #647cff in the Color Lab