Skip to content

#4b2dbe

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

RGB
75, 45, 190
HSL
252°, 62%, 46%
CMYK
61, 76, 0, 26
Luminance
0.0709

At a glance

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

Hex
#4b2dbe
Hue
252°
blue
Saturation
62%
vivid
Lightness
46%
balanced
Brightness
75%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0709
WCAG relative
Temperature
Cool
76/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
8.68:1
Closest name
Medium Blue
ΔE2000 7.1
Where it sits
Hue252° of 360°
Saturation62%
Lightness46%
Temperature
Warm ← → Cool76% 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#4b2dbe
RGBrgb(75, 45, 190)
HSLhsl(252, 62%, 46%)
CMYKcmyk(61%, 76%, 0%, 26%)
LABlab(32.0 51.5 -70.9)
LCHlch(32.0 87.7 306.0)
OKLCHoklch(0.437 0.210 282.9)
Decimal4926910
Display P3color(display-p3 0.294 0.176 0.745)

Copy-ready code

/* CSS */
color: #4b2dbe;
background-color: #4b2dbe;
/* Tailwind (arbitrary) */
class="text-[#4b2dbe] bg-[#4b2dbe]"
/* SCSS */
$brand: #4b2dbe;
/* SwiftUI */
Color(red: 0.294, green: 0.176, blue: 0.745)
/* Android */
Color.parseColor("#4b2dbe")
/* Flutter */
Color(0xFF4B2DBE)
/* Python / OpenCV (BGR) */
(190, 45, 75)

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 #4b2dbe · 8.68:1
Use #ffffffAAA at every size.
Aa
White text · 8.68:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.42:1
AA fail · AA large fail · AAA fail
Reading the other direction: #4b2dbe as text scores 8.68:1 on white and 2.42:1 on black.

Accessibility — WCAG contrast

Aa
#4b2dbe on white: 8.68:1
AA ✓ pass · AA-large · AAA
Aa
#4b2dbe on black: 2.42:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0050C2
deuteranopia · #0046BB
tritanopia · #005774

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #4b2dbe is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5F4FB
#EBE8F7
#D3CCF0
#B3A4EA
#8C77DF
#664AD4
#4b2dbe
#4127A5
#341F84
#291A60
#1A113C
Base = 600Lightest = 50 · #F5F4FBDarkest = 950 · #1A113C
:root {
  --brand-50: #F5F4FB;
  --brand-100: #EBE8F7;
  --brand-200: #D3CCF0;
  --brand-300: #B3A4EA;
  --brand-400: #8C77DF;
  --brand-500: #664AD4;
  --brand-600: #4b2dbe;
  --brand-700: #4127A5;
  --brand-800: #341F84;
  --brand-900: #291A60;
  --brand-950: #1A113C;
  --brand: #4b2dbe;
  --brand-ink: #ffffff;
}

Colors that work with #4b2dbe

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#F6F4FA
Tinted page background
Border#C9C0ED
Hairlines and dividers
Muted text#5B4B9B
Captions on the surface
Accent#A9A323
Second voice, not a rival
Dark variant#291867
Hover, pressed, headers
Light variant#EEEAFA
Selected rows, tints
Dark surface#171424
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 #4b2dbe

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
  • Text on black or near-black surfaces
  • 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#A0BE2D
Analogous left#2D58BE
Analogous right#942DBE
Split-complement 1#BE942D
Split-complement 2#58BE2D
Triadic 1#BE4B2D
Triadic 2#2DBE4B
Tetradic#BE2D58

RGB percentages

Red29.4%
Green17.6%
Blue74.5%

CMYK percentages

Cyan60.5%
Magenta76.3%
Yellow0.0%
Key (black)25.5%

Color previews

#4b2dbe text on a black background

contrast 2.42:1

Card sample

#4b2dbe text on a white background

contrast 8.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4b2dbe

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.

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

#4b2dbe, answered

What color is #4b2dbe?

#4b2dbe is a balanced vivid blue, closest to Medium Blue (ΔE2000 7.1). It sits at 252° on the hue wheel with 62% saturation and 46% lightness, which reads as cool.

What is the RGB value of #4b2dbe?

rgb(75, 45, 190) — 75 red, 45 green and 190 blue out of 255, or 29.4% / 17.6% / 74.5% by channel.

Is #4b2dbe a light or a dark color?

It is a dark color. Relative luminance is 0.0709 and perceived brightness is 33%, so white text on it reaches 8.68:1.

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

White. It scores 8.68:1 against #4b2dbe, versus 2.42:1 for black — AAA at any size.

What is the complementary color of #4b2dbe?

#A0BE2D sits directly opposite on the wheel. Softer options are the split-complements #BE942D and #58BE2D, which give the same contrast with far less vibration.

What colors go well with #4b2dbe?

For interface work: #F6F4FA as the surface, #C9C0ED for borders, #5B4B9B for secondary text, #A9A323 as an accent and #291867 for hover and pressed states. For a palette, the analogous pair #2D58BE and #942DBE stays calm, while #A0BE2D is the loudest partner.

What is #4b2dbe in CMYK for printing?

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

Is #4b2dbe warm or cool?

Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #802DBE; nudged cooler, #2B43C0.

Work with #4b2dbe in the Color Lab