Skip to content

#757df6

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

RGB
117, 125, 246
HSL
236°, 88%, 71%
CMYK
52, 49, 0, 4
Luminance
0.2510

At a glance

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

Hex
#757df6
Hue
236°
blue
Saturation
88%
electric
Lightness
71%
light
Brightness
96%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2510
WCAG relative
Temperature
Cool
85/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.02:1
Closest name
Medium Slate Blue
ΔE2000 6.9
Where it sits
Hue236° of 360°
Saturation88%
Lightness71%
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#757df6
RGBrgb(117, 125, 246)
HSLhsl(236, 88%, 71%)
CMYKcmyk(52%, 49%, 0%, 4%)
LABlab(57.2 29.9 -61.8)
LCHlch(57.2 68.6 295.8)
OKLCHoklch(0.642 0.178 277.3)
Decimal7699958
Display P3color(display-p3 0.459 0.490 0.965)

Copy-ready code

/* CSS */
color: #757df6;
background-color: #757df6;
/* Tailwind (arbitrary) */
class="text-[#757df6] bg-[#757df6]"
/* SCSS */
$brand: #757df6;
/* SwiftUI */
Color(red: 0.459, green: 0.490, blue: 0.965)
/* Android */
Color.parseColor("#757df6")
/* Flutter */
Color(0xFF757DF6)
/* Python / OpenCV (BGR) */
(246, 125, 117)

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

Accessibility — WCAG contrast

Aa
#757df6 on white: 3.49:1
AA ✗ fail · AA-large · AAA
Aa
#757df6 on black: 6.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #428FFA
deuteranopia · #3284F3
tritanopia · #3A98AE

Color scale — 50 to 950

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

#F2F3FD
#E5E6FA
#C4C7F8
#969CF8
#757df6
#2C38F1
#0F1CE6
#0C17C0
#0A1399
#0C126F
#070B45
Base = 400Lightest = 50 · #F2F3FDDarkest = 950 · #070B45
:root {
  --brand-50: #F2F3FD;
  --brand-100: #E5E6FA;
  --brand-200: #C4C7F8;
  --brand-300: #969CF8;
  --brand-400: #757df6;
  --brand-500: #2C38F1;
  --brand-600: #0F1CE6;
  --brand-700: #0C17C0;
  --brand-800: #0A1399;
  --brand-900: #0C126F;
  --brand-950: #070B45;
  --brand: #757df6;
  --brand-ink: #000000;
}

Colors that work with #757df6

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#C48908
Second voice, not a rival
Dark variant#080F78
Hover, pressed, headers
Light variant#E7E8FD
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 #757df6

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#F6EE75
Analogous left#75BEF6
Analogous right#AE75F6
Split-complement 1#F6AE75
Split-complement 2#BEF675
Triadic 1#F6757D
Triadic 2#7DF675
Tetradic#F675BE

RGB percentages

Red45.9%
Green49.0%
Blue96.5%

CMYK percentages

Cyan52.4%
Magenta49.2%
Yellow0.0%
Key (black)3.5%

Color previews

#757df6 text on a black background

contrast 6.02:1

Card sample

#757df6 text on a white background

contrast 3.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #757df6;
Background color
Panel with #757df6 background
background-color: #757df6;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #757df6;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(117, 125, 246, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(117, 125, 246, 0.45);
Border & gradient
Gradient panel
border: 3px solid #757df6;
background: linear-gradient(135deg, #757df6, #C375F6);

Monochromatic scale

Palettes built from #757df6

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.

#757df6 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.

#757df6, answered

What color is #757df6?

#757df6 is a light electric blue, closest to Medium Slate Blue (ΔE2000 6.9). It sits at 236° on the hue wheel with 88% saturation and 71% lightness, which reads as cool.

What is the RGB value of #757df6?

rgb(117, 125, 246) — 117 red, 125 green and 246 blue out of 255, or 45.9% / 49% / 96.5% by channel.

Is #757df6 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2510 and perceived brightness is 56%, so black text on it reaches 6.02:1.

Should I use black or white text on #757df6?

Black. It scores 6.02:1 against #757df6, versus 3.49:1 for white — AA at any size.

What is the complementary color of #757df6?

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

What colors go well with #757df6?

For interface work: #F4F5FA as the surface, #C0C3ED for borders, #4B509B for secondary text, #C48908 as an accent and #080F78 for hover and pressed states. For a palette, the analogous pair #75BEF6 and #AE75F6 stays calm, while #F6EE75 is the loudest partner.

What is #757df6 in CMYK for printing?

cmyk(52%, 49%, 0%, 4%). 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 #757df6 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 #9C75F6; nudged cooler, #749CF8.

Work with #757df6 in the Color Lab