Skip to content

#646df2

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

RGB
100, 109, 242
HSL
236°, 85%, 67%
CMYK
59, 55, 0, 5
Luminance
0.2006

At a glance

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

Hex
#646df2
Hue
236°
blue
Saturation
85%
electric
Lightness
67%
light
Brightness
95%
HSV value
Perceived
51%
weighted brightness
Luminance
0.2006
WCAG relative
Temperature
Cool
85/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.01:1
Closest name
Medium Slate Blue
ΔE2000 4.3
Where it sits
Hue236° of 360°
Saturation85%
Lightness67%
Temperature
Warm ← → Cool85% 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#646df2
RGBrgb(100, 109, 242)
HSLhsl(236, 85%, 67%)
CMYKcmyk(59%, 55%, 0%, 5%)
LABlab(51.9 35.0 -68.1)
LCHlch(51.9 76.6 297.2)
OKLCHoklch(0.599 0.197 275.8)
Decimal6581746
Display P3color(display-p3 0.392 0.427 0.949)

Copy-ready code

/* CSS */
color: #646df2;
background-color: #646df2;
/* Tailwind (arbitrary) */
class="text-[#646df2] bg-[#646df2]"
/* SCSS */
$brand: #646df2;
/* SwiftUI */
Color(red: 0.392, green: 0.427, blue: 0.949)
/* Android */
Color.parseColor("#646df2")
/* Flutter */
Color(0xFF646DF2)
/* Python / OpenCV (BGR) */
(242, 109, 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 #646df2 · 5.01:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.19:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.01:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #646df2 as text scores 4.19:1 on white and 5.01:1 on black.

Accessibility — WCAG contrast

Aa
#646df2 on white: 4.19:1
AA ✗ fail · AA-large · AAA
Aa
#646df2 on black: 5.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0082F7
deuteranopia · #0076EF
tritanopia · #008CA5

Color scale — 50 to 950

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

#F2F3FC
#E6E7FA
#C5C8F7
#979EF6
#646df2
#303CEE
#1320E2
#101BBC
#0D1597
#0E146D
#090C44
Base = 400Lightest = 50 · #F2F3FCDarkest = 950 · #090C44
:root {
  --brand-50: #F2F3FC;
  --brand-100: #E6E7FA;
  --brand-200: #C5C8F7;
  --brand-300: #979EF6;
  --brand-400: #646df2;
  --brand-500: #303CEE;
  --brand-600: #1320E2;
  --brand-700: #101BBC;
  --brand-800: #0D1597;
  --brand-900: #0E146D;
  --brand-950: #090C44;
  --brand: #646df2;
  --brand-ink: #000000;
}

Colors that work with #646df2

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#C0C3ED
Hairlines and dividers
Muted text#4B509B
Captions on the surface
Accent#C0880C
Second voice, not a rival
Dark variant#0A1176
Hover, pressed, headers
Light variant#E7E9FD
Selected rows, tints
Dark surface#141524
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 #646df2

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#F2E964
Analogous left#64B4F2
Analogous right#A264F2
Split-complement 1#F2A264
Split-complement 2#B4F264
Triadic 1#F2646D
Triadic 2#6DF264
Tetradic#F264B4

RGB percentages

Red39.2%
Green42.7%
Blue94.9%

CMYK percentages

Cyan58.7%
Magenta55.0%
Yellow0.0%
Key (black)5.1%

Color previews

#646df2 text on a black background

contrast 5.01:1

Card sample

#646df2 text on a white background

contrast 4.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #646df2;
Background color
Panel with #646df2 background
background-color: #646df2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #646df2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(100, 109, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(100, 109, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #646df2;
background: linear-gradient(135deg, #646df2, #BA64F2);

Monochromatic scale

Palettes built from #646df2

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.

#646df2 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.

#646df2, answered

What color is #646df2?

#646df2 is a light electric blue, closest to Medium Slate Blue (ΔE2000 4.3). It sits at 236° on the hue wheel with 85% saturation and 67% lightness, which reads as cool.

What is the RGB value of #646df2?

rgb(100, 109, 242) — 100 red, 109 green and 242 blue out of 255, or 39.2% / 42.7% / 94.9% by channel.

Is #646df2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2006 and perceived brightness is 51%, so black text on it reaches 5.01:1.

Should I use black or white text on #646df2?

Black. It scores 5.01:1 against #646df2, versus 4.19:1 for white — AA at any size.

What is the complementary color of #646df2?

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

What colors go well with #646df2?

For interface work: #F4F5FA as the surface, #C0C3ED for borders, #4B509B for secondary text, #C0880C as an accent and #0A1176 for hover and pressed states. For a palette, the analogous pair #64B4F2 and #A264F2 stays calm, while #F2E964 is the loudest partner.

What is #646df2 in CMYK for printing?

cmyk(59%, 55%, 0%, 5%). 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 #646df2 warm or cool?

Cool — it scores 85 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8F64F2; nudged cooler, #638EF4.

Work with #646df2 in the Color Lab