Skip to content

#3d2fcc

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

RGB
61, 47, 204
HSL
245°, 63%, 49%
CMYK
70, 77, 0, 20
Luminance
0.0738

At a glance

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

Hex
#3d2fcc
Hue
245°
blue
Saturation
63%
vivid
Lightness
49%
balanced
Brightness
80%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0738
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
8.48:1
Closest name
Blue
ΔE2000 6.2
Where it sits
Hue245° of 360°
Saturation63%
Lightness49%
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#3d2fcc
RGBrgb(61, 47, 204)
HSLhsl(245, 63%, 49%)
CMYKcmyk(70%, 77%, 0%, 20%)
LABlab(32.7 53.3 -78.0)
LCHlch(32.7 94.5 304.3)
OKLCHoklch(0.443 0.227 275.8)
Decimal4009932
Display P3color(display-p3 0.239 0.184 0.800)

Copy-ready code

/* CSS */
color: #3d2fcc;
background-color: #3d2fcc;
/* Tailwind (arbitrary) */
class="text-[#3d2fcc] bg-[#3d2fcc]"
/* SCSS */
$brand: #3d2fcc;
/* SwiftUI */
Color(red: 0.239, green: 0.184, blue: 0.800)
/* Android */
Color.parseColor("#3d2fcc")
/* Flutter */
Color(0xFF3D2FCC)
/* Python / OpenCV (BGR) */
(204, 47, 61)

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

Accessibility — WCAG contrast

Aa
#3d2fcc on white: 8.48:1
AA ✓ pass · AA-large · AAA
Aa
#3d2fcc on black: 2.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0054D0
deuteranopia · #0046C9
tritanopia · #005E7D

Color scale — 50 to 950

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

#F4F4FB
#EAE8F7
#CFCCF0
#AAA4EA
#8076DF
#5549D5
#3d2fcc
#3226A6
#281F85
#201A60
#14103C
Base = 600Lightest = 50 · #F4F4FBDarkest = 950 · #14103C
:root {
  --brand-50: #F4F4FB;
  --brand-100: #EAE8F7;
  --brand-200: #CFCCF0;
  --brand-300: #AAA4EA;
  --brand-400: #8076DF;
  --brand-500: #5549D5;
  --brand-600: #3d2fcc;
  --brand-700: #3226A6;
  --brand-800: #281F85;
  --brand-900: #201A60;
  --brand-950: #14103C;
  --brand: #3d2fcc;
  --brand-ink: #ffffff;
}

Colors that work with #3d2fcc

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#AA9422
Second voice, not a rival
Dark variant#1F1868
Hover, pressed, headers
Light variant#ECEAFA
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 #3d2fcc

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#BECC2F
Analogous left#2F6FCC
Analogous right#8C2FCC
Split-complement 1#CC8C2F
Split-complement 2#6FCC2F
Triadic 1#CC3D2F
Triadic 2#2FCC3D
Tetradic#CC2F6F

RGB percentages

Red23.9%
Green18.4%
Blue80.0%

CMYK percentages

Cyan70.1%
Magenta77.0%
Yellow0.0%
Key (black)20.0%

Color previews

#3d2fcc text on a black background

contrast 2.48:1

Card sample

#3d2fcc text on a white background

contrast 8.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3d2fcc;
Background color
Panel with #3d2fcc background
background-color: #3d2fcc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3d2fcc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(61, 47, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(61, 47, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3d2fcc;
background: linear-gradient(135deg, #3d2fcc, #A62FCC);

Monochromatic scale

Palettes built from #3d2fcc

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.

#3d2fcc 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.

#3d2fcc, answered

What color is #3d2fcc?

#3d2fcc is a balanced vivid blue, closest to Blue (ΔE2000 6.2). It sits at 245° on the hue wheel with 63% saturation and 49% lightness, which reads as cool.

What is the RGB value of #3d2fcc?

rgb(61, 47, 204) — 61 red, 47 green and 204 blue out of 255, or 23.9% / 18.4% / 80% by channel.

Is #3d2fcc a light or a dark color?

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

Should I use black or white text on #3d2fcc?

White. It scores 8.48:1 against #3d2fcc, versus 2.48:1 for black — AAA at any size.

What is the complementary color of #3d2fcc?

#BECC2F sits directly opposite on the wheel. Softer options are the split-complements #CC8C2F and #6FCC2F, which give the same contrast with far less vibration.

What colors go well with #3d2fcc?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #524B9B for secondary text, #AA9422 as an accent and #1F1868 for hover and pressed states. For a palette, the analogous pair #2F6FCC and #8C2FCC stays calm, while #BECC2F is the loudest partner.

What is #3d2fcc in CMYK for printing?

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

Is #3d2fcc 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 #772FCC; nudged cooler, #2D51CE.

Work with #3d2fcc in the Color Lab