Skip to content

#4e3cdf

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

RGB
78, 60, 223
HSL
247°, 72%, 56%
CMYK
65, 73, 0, 13
Luminance
0.1018

At a glance

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

Hex
#4e3cdf
Hue
247°
blue
Saturation
72%
vivid
Lightness
56%
balanced
Brightness
87%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1018
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
6.92:1
Closest name
Blue
ΔE2000 7.6
Where it sits
Hue247° of 360°
Saturation72%
Lightness56%
Temperature
Warm ← → Cool80% 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#4e3cdf
RGBrgb(78, 60, 223)
HSLhsl(247, 72%, 56%)
CMYKcmyk(65%, 73%, 0%, 13%)
LABlab(38.2 54.1 -79.9)
LCHlch(38.2 96.5 304.1)
OKLCHoklch(0.490 0.233 278.4)
Decimal5127391
Display P3color(display-p3 0.306 0.235 0.875)

Copy-ready code

/* CSS */
color: #4e3cdf;
background-color: #4e3cdf;
/* Tailwind (arbitrary) */
class="text-[#4e3cdf] bg-[#4e3cdf]"
/* SCSS */
$brand: #4e3cdf;
/* SwiftUI */
Color(red: 0.306, green: 0.235, blue: 0.875)
/* Android */
Color.parseColor("#4e3cdf")
/* Flutter */
Color(0xFF4E3CDF)
/* Python / OpenCV (BGR) */
(223, 60, 78)

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

Accessibility — WCAG contrast

Aa
#4e3cdf on white: 6.92:1
AA ✓ pass · AA-large · AAA
Aa
#4e3cdf on black: 3.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0060E4
deuteranopia · #0053DC
tritanopia · #006A8A

Color scale — 50 to 950

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

#F4F3FC
#E9E7F8
#CEC9F3
#A79FEF
#7C6EE7
#4e3cdf
#3623D2
#2D1DAF
#24178C
#1E1566
#130D40
Base = 500Lightest = 50 · #F4F3FCDarkest = 950 · #130D40
:root {
  --brand-50: #F4F3FC;
  --brand-100: #E9E7F8;
  --brand-200: #CEC9F3;
  --brand-300: #A79FEF;
  --brand-400: #7C6EE7;
  --brand-500: #4e3cdf;
  --brand-600: #3623D2;
  --brand-700: #2D1DAF;
  --brand-800: #24178C;
  --brand-900: #1E1566;
  --brand-950: #130D40;
  --brand: #4e3cdf;
  --brand-ink: #ffffff;
}

Colors that work with #4e3cdf

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#F5F4FA
Tinted page background
Border#C5C0ED
Hairlines and dividers
Muted text#534B9B
Captions on the surface
Accent#B49D18
Second voice, not a rival
Dark variant#1C126E
Hover, pressed, headers
Light variant#EBE9FB
Selected rows, tints
Dark surface#151424
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 #4e3cdf

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#CDDF3C
Analogous left#3C7CDF
Analogous right#9F3CDF
Split-complement 1#DF9F3C
Split-complement 2#7CDF3C
Triadic 1#DF4E3C
Triadic 2#3CDF4E
Tetradic#DF3C7C

RGB percentages

Red30.6%
Green23.5%
Blue87.5%

CMYK percentages

Cyan65.0%
Magenta73.1%
Yellow0.0%
Key (black)12.5%

Color previews

#4e3cdf text on a black background

contrast 3.04:1

Card sample

#4e3cdf text on a white background

contrast 6.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4e3cdf;
Background color
Panel with #4e3cdf background
background-color: #4e3cdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4e3cdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(78, 60, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(78, 60, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4e3cdf;
background: linear-gradient(135deg, #4e3cdf, #BB3CDF);

Monochromatic scale

Palettes built from #4e3cdf

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.

#4e3cdf 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.

#4e3cdf, answered

What color is #4e3cdf?

#4e3cdf is a balanced vivid blue, closest to Blue (ΔE2000 7.6). It sits at 247° on the hue wheel with 72% saturation and 56% lightness, which reads as cool.

What is the RGB value of #4e3cdf?

rgb(78, 60, 223) — 78 red, 60 green and 223 blue out of 255, or 30.6% / 23.5% / 87.5% by channel.

Is #4e3cdf a light or a dark color?

It is a dark color. Relative luminance is 0.1018 and perceived brightness is 38%, so white text on it reaches 6.92:1.

Should I use black or white text on #4e3cdf?

White. It scores 6.92:1 against #4e3cdf, versus 3.04:1 for black — AA at any size.

What is the complementary color of #4e3cdf?

#CDDF3C sits directly opposite on the wheel. Softer options are the split-complements #DF9F3C and #7CDF3C, which give the same contrast with far less vibration.

What colors go well with #4e3cdf?

For interface work: #F5F4FA as the surface, #C5C0ED for borders, #534B9B for secondary text, #B49D18 as an accent and #1C126E for hover and pressed states. For a palette, the analogous pair #3C7CDF and #9F3CDF stays calm, while #CDDF3C is the loudest partner.

What is #4e3cdf in CMYK for printing?

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

Is #4e3cdf warm or cool?

Cool — it scores 80 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8A3CDF; nudged cooler, #3A5EE1.

Work with #4e3cdf in the Color Lab