Skip to content

#4f3eef

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

RGB
79, 62, 239
HSL
246°, 85%, 59%
CMYK
67, 74, 0, 6
Luminance
0.1134

At a glance

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

Hex
#4f3eef
Hue
246°
blue
Saturation
85%
electric
Lightness
59%
balanced
Brightness
94%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1134
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.43:1
Closest name
Blue
ΔE2000 8.1
Where it sits
Hue246° of 360°
Saturation85%
Lightness59%
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#4f3eef
RGBrgb(79, 62, 239)
HSLhsl(246, 85%, 59%)
CMYKcmyk(67%, 74%, 0%, 6%)
LABlab(40.1 58.0 -85.7)
LCHlch(40.1 103.5 304.1)
OKLCHoklch(0.509 0.250 277.1)
Decimal5193455
Display P3color(display-p3 0.310 0.243 0.937)

Copy-ready code

/* CSS */
color: #4f3eef;
background-color: #4f3eef;
/* Tailwind (arbitrary) */
class="text-[#4f3eef] bg-[#4f3eef]"
/* SCSS */
$brand: #4f3eef;
/* SwiftUI */
Color(red: 0.310, green: 0.243, blue: 0.937)
/* Android */
Color.parseColor("#4f3eef")
/* Flutter */
Color(0xFF4F3EEF)
/* Python / OpenCV (BGR) */
(239, 62, 79)

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

Accessibility — WCAG contrast

Aa
#4f3eef on white: 6.43:1
AA ✓ pass · AA-large · AAA
Aa
#4f3eef on black: 3.27:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0066F4
deuteranopia · #0057EC
tritanopia · #007194

Color scale — 50 to 950

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

#F3F2FC
#E7E5FA
#CAC5F7
#A197F6
#7164F2
#4f3eef
#2713E2
#2010BC
#1A0C97
#170E6D
#0E0844
Base = 500Lightest = 50 · #F3F2FCDarkest = 950 · #0E0844
:root {
  --brand-50: #F3F2FC;
  --brand-100: #E7E5FA;
  --brand-200: #CAC5F7;
  --brand-300: #A197F6;
  --brand-400: #7164F2;
  --brand-500: #4f3eef;
  --brand-600: #2713E2;
  --brand-700: #2010BC;
  --brand-800: #1A0C97;
  --brand-900: #170E6D;
  --brand-950: #0E0844;
  --brand: #4f3eef;
  --brand-ink: #ffffff;
}

Colors that work with #4f3eef

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#C4C0ED
Hairlines and dividers
Muted text#524B9B
Captions on the surface
Accent#C0A50C
Second voice, not a rival
Dark variant#140A76
Hover, pressed, headers
Light variant#EAE7FD
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 #4f3eef

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#DEEF3E
Analogous left#3E85EF
Analogous right#A83EEF
Split-complement 1#EFA83E
Split-complement 2#85EF3E
Triadic 1#EF4F3E
Triadic 2#3EEF4F
Tetradic#EF3E85

RGB percentages

Red31.0%
Green24.3%
Blue93.7%

CMYK percentages

Cyan66.9%
Magenta74.1%
Yellow0.0%
Key (black)6.3%

Color previews

#4f3eef text on a black background

contrast 3.27:1

Card sample

#4f3eef text on a white background

contrast 6.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 62, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 62, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f3eef;
background: linear-gradient(135deg, #4f3eef, #C53EEF);

Monochromatic scale

Palettes built from #4f3eef

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.

#4f3eef 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

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

#4f3eef, answered

What color is #4f3eef?

#4f3eef is a balanced electric blue, closest to Blue (ΔE2000 8.1). It sits at 246° on the hue wheel with 85% saturation and 59% lightness, which reads as cool.

What is the RGB value of #4f3eef?

rgb(79, 62, 239) — 79 red, 62 green and 239 blue out of 255, or 31% / 24.3% / 93.7% by channel.

Is #4f3eef a light or a dark color?

It is a dark color. Relative luminance is 0.1134 and perceived brightness is 40%, so white text on it reaches 6.43:1.

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

White. It scores 6.43:1 against #4f3eef, versus 3.27:1 for black — AA at any size.

What is the complementary color of #4f3eef?

#DEEF3E sits directly opposite on the wheel. Softer options are the split-complements #EFA83E and #85EF3E, which give the same contrast with far less vibration.

What colors go well with #4f3eef?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #524B9B for secondary text, #C0A50C as an accent and #140A76 for hover and pressed states. For a palette, the analogous pair #3E85EF and #A83EEF stays calm, while #DEEF3E is the loudest partner.

What is #4f3eef in CMYK for printing?

cmyk(67%, 74%, 0%, 6%). 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 #4f3eef 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 #903EEF; nudged cooler, #3C62F1.

Work with #4f3eef in the Color Lab