Skip to content

#4f4cc2

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

RGB
79, 76, 194
HSL
242°, 49%, 53%
CMYK
59, 61, 0, 24
Luminance
0.1073

At a glance

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

Hex
#4f4cc2
Hue
242°
blue
Saturation
49%
vivid
Lightness
53%
balanced
Brightness
76%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1073
WCAG relative
Temperature
Cool
83/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
6.68:1
Closest name
Slate Blue
ΔE2000 5.9
Where it sits
Hue242° of 360°
Saturation49%
Lightness53%
Temperature
Warm ← → Cool83% 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#4f4cc2
RGBrgb(79, 76, 194)
HSLhsl(242, 49%, 53%)
CMYKcmyk(59%, 61%, 0%, 24%)
LABlab(39.1 35.9 -61.6)
LCHlch(39.1 71.3 300.2)
OKLCHoklch(0.490 0.179 278.6)
Decimal5196994
Display P3color(display-p3 0.310 0.298 0.761)

Copy-ready code

/* CSS */
color: #4f4cc2;
background-color: #4f4cc2;
/* Tailwind (arbitrary) */
class="text-[#4f4cc2] bg-[#4f4cc2]"
/* SCSS */
$brand: #4f4cc2;
/* SwiftUI */
Color(red: 0.310, green: 0.298, blue: 0.761)
/* Android */
Color.parseColor("#4f4cc2")
/* Flutter */
Color(0xFF4F4CC2)
/* Python / OpenCV (BGR) */
(194, 76, 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 #4f4cc2 · 6.68:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.68: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: #4f4cc2 as text scores 6.68:1 on white and 3.15:1 on black.

Accessibility — WCAG contrast

Aa
#4f4cc2 on white: 6.68:1
AA ✓ pass · AA-large · AAA
Aa
#4f4cc2 on black: 3.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0061C6
deuteranopia · #0057C0
tritanopia · #006980

Color scale — 50 to 950

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

#F5F4FA
#EAEAF6
#D0CFEC
#ADABE3
#8481D4
#4f4cc2
#413EB7
#363498
#2B297A
#232159
#161538
Base = 500Lightest = 50 · #F5F4FADarkest = 950 · #161538
:root {
  --brand-50: #F5F4FA;
  --brand-100: #EAEAF6;
  --brand-200: #D0CFEC;
  --brand-300: #ADABE3;
  --brand-400: #8481D4;
  --brand-500: #4f4cc2;
  --brand-600: #413EB7;
  --brand-700: #363498;
  --brand-800: #2B297A;
  --brand-900: #232159;
  --brand-950: #161538;
  --brand: #4f4cc2;
  --brand-ink: #ffffff;
}

Colors that work with #4f4cc2

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#F4F4FA
Tinted page background
Border#C3C2EA
Hairlines and dividers
Muted text#4D4B9B
Captions on the surface
Accent#9C8430
Second voice, not a rival
Dark variant#22205F
Hover, pressed, headers
Light variant#ECECF9
Selected rows, tints
Dark surface#141424
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 #4f4cc2

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#BFC24C
Analogous left#4C84C2
Analogous right#8A4CC2
Split-complement 1#C28A4C
Split-complement 2#84C24C
Triadic 1#C24F4C
Triadic 2#4CC24F
Tetradic#C24C84

RGB percentages

Red31.0%
Green29.8%
Blue76.1%

CMYK percentages

Cyan59.3%
Magenta60.8%
Yellow0.0%
Key (black)23.9%

Color previews

#4f4cc2 text on a black background

contrast 3.15:1

Card sample

#4f4cc2 text on a white background

contrast 6.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 76, 194, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 76, 194, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f4cc2;
background: linear-gradient(135deg, #4f4cc2, #9E4CC2);

Monochromatic scale

Palettes built from #4f4cc2

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.

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

#4f4cc2, answered

What color is #4f4cc2?

#4f4cc2 is a balanced vivid blue, closest to Slate Blue (ΔE2000 5.9). It sits at 242° on the hue wheel with 49% saturation and 53% lightness, which reads as cool.

What is the RGB value of #4f4cc2?

rgb(79, 76, 194) — 79 red, 76 green and 194 blue out of 255, or 31% / 29.8% / 76.1% by channel.

Is #4f4cc2 a light or a dark color?

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

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

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

What is the complementary color of #4f4cc2?

#BFC24C sits directly opposite on the wheel. Softer options are the split-complements #C28A4C and #84C24C, which give the same contrast with far less vibration.

What colors go well with #4f4cc2?

For interface work: #F4F4FA as the surface, #C3C2EA for borders, #4D4B9B for secondary text, #9C8430 as an accent and #22205F for hover and pressed states. For a palette, the analogous pair #4C84C2 and #8A4CC2 stays calm, while #BFC24C is the loudest partner.

What is #4f4cc2 in CMYK for printing?

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

Is #4f4cc2 warm or cool?

Cool — it scores 83 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7A4CC2; nudged cooler, #496CC4.

Work with #4f4cc2 in the Color Lab