Skip to content

#4f2ff3

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

RGB
79, 47, 243
HSL
250°, 89%, 57%
CMYK
68, 81, 0, 5
Luminance
0.1017

At a glance

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

Hex
#4f2ff3
Hue
250°
blue
Saturation
89%
electric
Lightness
57%
balanced
Brightness
95%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1017
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.92:1
Closest name
Blue
ΔE2000 5.8
Where it sits
Hue250° of 360°
Saturation89%
Lightness57%
Temperature
Warm ← → Cool78% 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#4f2ff3
RGBrgb(79, 47, 243)
HSLhsl(250, 89%, 57%)
CMYKcmyk(68%, 81%, 0%, 5%)
LABlab(38.1 66.1 -91.3)
LCHlch(38.1 112.7 305.9)
OKLCHoklch(0.496 0.266 277.9)
Decimal5189619
Display P3color(display-p3 0.310 0.184 0.953)

Copy-ready code

/* CSS */
color: #4f2ff3;
background-color: #4f2ff3;
/* Tailwind (arbitrary) */
class="text-[#4f2ff3] bg-[#4f2ff3]"
/* SCSS */
$brand: #4f2ff3;
/* SwiftUI */
Color(red: 0.310, green: 0.184, blue: 0.953)
/* Android */
Color.parseColor("#4f2ff3")
/* Flutter */
Color(0xFF4F2FF3)
/* Python / OpenCV (BGR) */
(243, 47, 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 #4f2ff3 · 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.03:1
AA fail · AA large pass · AAA fail
Reading the other direction: #4f2ff3 as text scores 6.92:1 on white and 3.03:1 on black.

Accessibility — WCAG contrast

Aa
#4f2ff3 on white: 6.92:1
AA ✓ pass · AA-large · AAA
Aa
#4f2ff3 on black: 3.03:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0061F8
deuteranopia · #0052F0
tritanopia · #006D93

Color scale — 50 to 950

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

#F4F2FD
#E8E5FB
#CCC4F8
#A595F9
#7860F6
#4f2ff3
#310DE7
#290BC1
#21099A
#1B0B6F
#110746
Base = 500Lightest = 50 · #F4F2FDDarkest = 950 · #110746
:root {
  --brand-50: #F4F2FD;
  --brand-100: #E8E5FB;
  --brand-200: #CCC4F8;
  --brand-300: #A595F9;
  --brand-400: #7860F6;
  --brand-500: #4f2ff3;
  --brand-600: #310DE7;
  --brand-700: #290BC1;
  --brand-800: #21099A;
  --brand-900: #1B0B6F;
  --brand-950: #110746;
  --brand: #4f2ff3;
  --brand-ink: #ffffff;
}

Colors that work with #4f2ff3

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#C7C0ED
Hairlines and dividers
Muted text#584B9B
Captions on the surface
Accent#C5B507
Second voice, not a rival
Dark variant#1A0779
Hover, pressed, headers
Light variant#EBE7FE
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 #4f2ff3

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#D3F32F
Analogous left#2F71F3
Analogous right#B12FF3
Split-complement 1#F3B12F
Split-complement 2#71F32F
Triadic 1#F34F2F
Triadic 2#2FF34F
Tetradic#F32F71

RGB percentages

Red31.0%
Green18.4%
Blue95.3%

CMYK percentages

Cyan67.5%
Magenta80.7%
Yellow0.0%
Key (black)4.7%

Color previews

#4f2ff3 text on a black background

contrast 3.03:1

Card sample

#4f2ff3 text on a white background

contrast 6.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4f2ff3

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.

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

#4f2ff3, answered

What color is #4f2ff3?

#4f2ff3 is a balanced electric blue, closest to Blue (ΔE2000 5.8). It sits at 250° on the hue wheel with 89% saturation and 57% lightness, which reads as cool.

What is the RGB value of #4f2ff3?

rgb(79, 47, 243) — 79 red, 47 green and 243 blue out of 255, or 31% / 18.4% / 95.3% by channel.

Is #4f2ff3 a light or a dark color?

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

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

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

What is the complementary color of #4f2ff3?

#D3F32F sits directly opposite on the wheel. Softer options are the split-complements #F3B12F and #71F32F, which give the same contrast with far less vibration.

What colors go well with #4f2ff3?

For interface work: #F5F4FA as the surface, #C7C0ED for borders, #584B9B for secondary text, #C5B507 as an accent and #1A0779 for hover and pressed states. For a palette, the analogous pair #2F71F3 and #B12FF3 stays calm, while #D3F32F is the loudest partner.

What is #4f2ff3 in CMYK for printing?

cmyk(68%, 81%, 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 #4f2ff3 warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #972FF3; nudged cooler, #2D4EF5.

Work with #4f2ff3 in the Color Lab