Skip to content

#4f41df

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

RGB
79, 65, 223
HSL
245°, 71%, 57%
CMYK
65, 71, 0, 13
Luminance
0.1077

At a glance

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

Hex
#4f41df
Hue
245°
blue
Saturation
71%
vivid
Lightness
57%
balanced
Brightness
87%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1077
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
6.66:1
Closest name
Slate Blue
ΔE2000 7.7
Where it sits
Hue245° of 360°
Saturation71%
Lightness57%
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#4f41df
RGBrgb(79, 65, 223)
HSLhsl(245, 71%, 57%)
CMYKcmyk(65%, 71%, 0%, 13%)
LABlab(39.2 51.5 -78.2)
LCHlch(39.2 93.7 303.4)
OKLCHoklch(0.498 0.228 278.1)
Decimal5194207
Display P3color(display-p3 0.310 0.255 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f41df on white: 6.66:1
AA ✓ pass · AA-large · AAA
Aa
#4f41df on black: 3.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0063E4
deuteranopia · #0056DC
tritanopia · #006D8C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #4f41df 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
#CDC9F3
#A69FEF
#7A6FE7
#4f41df
#3323D2
#2A1DAF
#22188C
#1C1565
#120D3F
Base = 500Lightest = 50 · #F4F3FCDarkest = 950 · #120D3F
:root {
  --brand-50: #F4F3FC;
  --brand-100: #E9E7F8;
  --brand-200: #CDC9F3;
  --brand-300: #A69FEF;
  --brand-400: #7A6FE7;
  --brand-500: #4f41df;
  --brand-600: #3323D2;
  --brand-700: #2A1DAF;
  --brand-800: #22188C;
  --brand-900: #1C1565;
  --brand-950: #120D3F;
  --brand: #4f41df;
  --brand-ink: #ffffff;
}

Colors that work with #4f41df

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#B29A1A
Second voice, not a rival
Dark variant#1A126D
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 #4f41df

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#D1DF41
Analogous left#4182DF
Analogous right#9E41DF
Split-complement 1#DF9E41
Split-complement 2#82DF41
Triadic 1#DF4F41
Triadic 2#41DF4F
Tetradic#DF4182

RGB percentages

Red31.0%
Green25.5%
Blue87.5%

CMYK percentages

Cyan64.6%
Magenta70.9%
Yellow0.0%
Key (black)12.5%

Color previews

#4f41df text on a black background

contrast 3.15:1

Card sample

#4f41df text on a white background

contrast 6.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4f41df

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.

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

#4f41df, answered

What color is #4f41df?

#4f41df is a balanced vivid blue, closest to Slate Blue (ΔE2000 7.7). It sits at 245° on the hue wheel with 71% saturation and 57% lightness, which reads as cool.

What is the RGB value of #4f41df?

rgb(79, 65, 223) — 79 red, 65 green and 223 blue out of 255, or 31% / 25.5% / 87.5% by channel.

Is #4f41df a light or a dark color?

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

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

White. It scores 6.66:1 against #4f41df, versus 3.15:1 for black — AA at any size.

What is the complementary color of #4f41df?

#D1DF41 sits directly opposite on the wheel. Softer options are the split-complements #DF9E41 and #82DF41, which give the same contrast with far less vibration.

What colors go well with #4f41df?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #524B9B for secondary text, #B29A1A as an accent and #1A126D for hover and pressed states. For a palette, the analogous pair #4182DF and #9E41DF stays calm, while #D1DF41 is the loudest partner.

What is #4f41df in CMYK for printing?

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

Is #4f41df 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 #8941DF; nudged cooler, #3F64E1.

Work with #4f41df in the Color Lab