Skip to content

#4f3af0

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

RGB
79, 58, 240
HSL
247°, 86%, 58%
CMYK
67, 76, 0, 6
Luminance
0.1098

At a glance

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

Hex
#4f3af0
Hue
247°
blue
Saturation
86%
electric
Lightness
58%
balanced
Brightness
94%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1098
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.57:1
Closest name
Blue
ΔE2000 7.4
Where it sits
Hue247° of 360°
Saturation86%
Lightness58%
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#4f3af0
RGBrgb(79, 58, 240)
HSLhsl(247, 86%, 58%)
CMYKcmyk(67%, 76%, 0%, 6%)
LABlab(39.5 60.3 -87.3)
LCHlch(39.5 106.0 304.6)
OKLCHoklch(0.505 0.254 277.4)
Decimal5192432
Display P3color(display-p3 0.310 0.227 0.941)

Copy-ready code

/* CSS */
color: #4f3af0;
background-color: #4f3af0;
/* Tailwind (arbitrary) */
class="text-[#4f3af0] bg-[#4f3af0]"
/* SCSS */
$brand: #4f3af0;
/* SwiftUI */
Color(red: 0.310, green: 0.227, blue: 0.941)
/* Android */
Color.parseColor("#4f3af0")
/* Flutter */
Color(0xFF4F3AF0)
/* Python / OpenCV (BGR) */
(240, 58, 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 #4f3af0 · 6.57:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.57:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.20:1
AA fail · AA large pass · AAA fail
Reading the other direction: #4f3af0 as text scores 6.57:1 on white and 3.20:1 on black.

Accessibility — WCAG contrast

Aa
#4f3af0 on white: 6.57:1
AA ✓ pass · AA-large · AAA
Aa
#4f3af0 on black: 3.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0064F5
deuteranopia · #0055ED
tritanopia · #007094

Color scale — 50 to 950

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

#F3F2FD
#E8E5FA
#CBC5F7
#A297F7
#7363F3
#4f3af0
#2A11E3
#230EBE
#1C0C98
#180D6E
#0F0844
Base = 500Lightest = 50 · #F3F2FDDarkest = 950 · #0F0844
:root {
  --brand-50: #F3F2FD;
  --brand-100: #E8E5FA;
  --brand-200: #CBC5F7;
  --brand-300: #A297F7;
  --brand-400: #7363F3;
  --brand-500: #4f3af0;
  --brand-600: #2A11E3;
  --brand-700: #230EBE;
  --brand-800: #1C0C98;
  --brand-900: #180D6E;
  --brand-950: #0F0844;
  --brand: #4f3af0;
  --brand-ink: #ffffff;
}

Colors that work with #4f3af0

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#544B9B
Captions on the surface
Accent#C1A80B
Second voice, not a rival
Dark variant#160976
Hover, pressed, headers
Light variant#EAE7FD
Selected rows, tints
Dark surface#161424
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 #4f3af0

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#DBF03A
Analogous left#3A80F0
Analogous right#AA3AF0
Split-complement 1#F0AA3A
Split-complement 2#80F03A
Triadic 1#F04F3A
Triadic 2#3AF04F
Tetradic#F03A80

RGB percentages

Red31.0%
Green22.7%
Blue94.1%

CMYK percentages

Cyan67.1%
Magenta75.8%
Yellow0.0%
Key (black)5.9%

Color previews

#4f3af0 text on a black background

contrast 3.20:1

Card sample

#4f3af0 text on a white background

contrast 6.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4f3af0

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.

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

#4f3af0, answered

What color is #4f3af0?

#4f3af0 is a balanced electric blue, closest to Blue (ΔE2000 7.4). It sits at 247° on the hue wheel with 86% saturation and 58% lightness, which reads as cool.

What is the RGB value of #4f3af0?

rgb(79, 58, 240) — 79 red, 58 green and 240 blue out of 255, or 31% / 22.7% / 94.1% by channel.

Is #4f3af0 a light or a dark color?

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

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

White. It scores 6.57:1 against #4f3af0, versus 3.20:1 for black — AA at any size.

What is the complementary color of #4f3af0?

#DBF03A sits directly opposite on the wheel. Softer options are the split-complements #F0AA3A and #80F03A, which give the same contrast with far less vibration.

What colors go well with #4f3af0?

For interface work: #F5F4FA as the surface, #C5C0ED for borders, #544B9B for secondary text, #C1A80B as an accent and #160976 for hover and pressed states. For a palette, the analogous pair #3A80F0 and #AA3AF0 stays calm, while #DBF03A is the loudest partner.

What is #4f3af0 in CMYK for printing?

cmyk(67%, 76%, 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 #4f3af0 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 #923AF0; nudged cooler, #385DF2.

Work with #4f3af0 in the Color Lab