Skip to content

#4d4bdf

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

RGB
77, 75, 223
HSL
241°, 70%, 58%
CMYK
66, 66, 0, 13
Luminance
0.1194

At a glance

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

Hex
#4d4bdf
Hue
241°
blue
Saturation
70%
vivid
Lightness
58%
balanced
Brightness
87%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1194
WCAG relative
Temperature
Cool
83/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
6.20:1
Closest name
Slate Blue
ΔE2000 6
Where it sits
Hue241° of 360°
Saturation70%
Lightness58%
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#4d4bdf
RGBrgb(77, 75, 223)
HSLhsl(241, 70%, 58%)
CMYKcmyk(66%, 66%, 0%, 13%)
LABlab(41.1 45.6 -75.0)
LCHlch(41.1 87.8 301.3)
OKLCHoklch(0.511 0.218 276.0)
Decimal5065695
Display P3color(display-p3 0.302 0.294 0.875)

Copy-ready code

/* CSS */
color: #4d4bdf;
background-color: #4d4bdf;
/* Tailwind (arbitrary) */
class="text-[#4d4bdf] bg-[#4d4bdf]"
/* SCSS */
$brand: #4d4bdf;
/* SwiftUI */
Color(red: 0.302, green: 0.294, blue: 0.875)
/* Android */
Color.parseColor("#4d4bdf")
/* Flutter */
Color(0xFF4D4BDF)
/* Python / OpenCV (BGR) */
(223, 75, 77)

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

Accessibility — WCAG contrast

Aa
#4d4bdf on white: 6.20:1
AA ✓ pass · AA-large · AAA
Aa
#4d4bdf on black: 3.39:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0068E4
deuteranopia · #005ADC
tritanopia · #00728F

Color scale — 50 to 950

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

#F3F3FC
#E8E7F8
#CAC9F2
#A1A0EE
#7270E6
#4d4bdf
#2725D0
#211FAD
#1A198B
#171665
#0E0E3F
Base = 500Lightest = 50 · #F3F3FCDarkest = 950 · #0E0E3F
:root {
  --brand-50: #F3F3FC;
  --brand-100: #E8E7F8;
  --brand-200: #CAC9F2;
  --brand-300: #A1A0EE;
  --brand-400: #7270E6;
  --brand-500: #4d4bdf;
  --brand-600: #2725D0;
  --brand-700: #211FAD;
  --brand-800: #1A198B;
  --brand-900: #171665;
  --brand-950: #0E0E3F;
  --brand: #4d4bdf;
  --brand-ink: #ffffff;
}

Colors that work with #4d4bdf

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#C0C0ED
Hairlines and dividers
Muted text#4C4B9B
Captions on the surface
Accent#B18E1B
Second voice, not a rival
Dark variant#14136C
Hover, pressed, headers
Light variant#EAE9FB
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 #4d4bdf

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#DDDF4B
Analogous left#4B93DF
Analogous right#974BDF
Split-complement 1#DF974B
Split-complement 2#93DF4B
Triadic 1#DF4D4B
Triadic 2#4BDF4D
Tetradic#DF4B93

RGB percentages

Red30.2%
Green29.4%
Blue87.5%

CMYK percentages

Cyan65.5%
Magenta66.4%
Yellow0.0%
Key (black)12.5%

Color previews

#4d4bdf text on a black background

contrast 3.39:1

Card sample

#4d4bdf text on a white background

contrast 6.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4d4bdf

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.

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

#4d4bdf, answered

What color is #4d4bdf?

#4d4bdf is a balanced vivid blue, closest to Slate Blue (ΔE2000 6). It sits at 241° on the hue wheel with 70% saturation and 58% lightness, which reads as cool.

What is the RGB value of #4d4bdf?

rgb(77, 75, 223) — 77 red, 75 green and 223 blue out of 255, or 30.2% / 29.4% / 87.5% by channel.

Is #4d4bdf a light or a dark color?

It is a dark color. Relative luminance is 0.1194 and perceived brightness is 41%, so white text on it reaches 6.20:1.

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

White. It scores 6.20:1 against #4d4bdf, versus 3.39:1 for black — AA at any size.

What is the complementary color of #4d4bdf?

#DDDF4B sits directly opposite on the wheel. Softer options are the split-complements #DF974B and #93DF4B, which give the same contrast with far less vibration.

What colors go well with #4d4bdf?

For interface work: #F4F4FA as the surface, #C0C0ED for borders, #4C4B9B for secondary text, #B18E1B as an accent and #14136C for hover and pressed states. For a palette, the analogous pair #4B93DF and #974BDF stays calm, while #DDDF4B is the loudest partner.

What is #4d4bdf in CMYK for printing?

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

Is #4d4bdf 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 #834BDF; nudged cooler, #4971E1.

Work with #4d4bdf in the Color Lab