Skip to content

#392dbb

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

RGB
57, 45, 187
HSL
245°, 61%, 46%
CMYK
70, 76, 0, 27
Luminance
0.0633

At a glance

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

Hex
#392dbb
Hue
245°
blue
Saturation
61%
vivid
Lightness
46%
balanced
Brightness
73%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0633
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
9.26:1
Closest name
Medium Blue
ΔE2000 6.2
Where it sits
Hue245° of 360°
Saturation61%
Lightness46%
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#392dbb
RGBrgb(57, 45, 187)
HSLhsl(245, 61%, 46%)
CMYKcmyk(70%, 76%, 0%, 27%)
LABlab(30.2 48.7 -72.1)
LCHlch(30.2 87.0 304.0)
OKLCHoklch(0.420 0.210 276.2)
Decimal3747259
Display P3color(display-p3 0.224 0.176 0.733)

Copy-ready code

/* CSS */
color: #392dbb;
background-color: #392dbb;
/* Tailwind (arbitrary) */
class="text-[#392dbb] bg-[#392dbb]"
/* SCSS */
$brand: #392dbb;
/* SwiftUI */
Color(red: 0.224, green: 0.176, blue: 0.733)
/* Android */
Color.parseColor("#392dbb")
/* Flutter */
Color(0xFF392DBB)
/* Python / OpenCV (BGR) */
(187, 45, 57)

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

Accessibility — WCAG contrast

Aa
#392dbb on white: 9.26:1
AA ✓ pass · AA-large · AAA
Aa
#392dbb on black: 2.27:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004DBF
deuteranopia · #0041B8
tritanopia · #005772

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #392dbb 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
#AAA5E9
#8077DE
#564AD3
#392dbb
#3228A4
#282084
#211B60
#14113C
Base = 600Lightest = 50 · #F4F4FBDarkest = 950 · #14113C
:root {
  --brand-50: #F4F4FB;
  --brand-100: #EAE8F7;
  --brand-200: #CFCCF0;
  --brand-300: #AAA5E9;
  --brand-400: #8077DE;
  --brand-500: #564AD3;
  --brand-600: #392dbb;
  --brand-700: #3228A4;
  --brand-800: #282084;
  --brand-900: #211B60;
  --brand-950: #14113C;
  --brand: #392dbb;
  --brand-ink: #ffffff;
}

Colors that work with #392dbb

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#514B9B
Captions on the surface
Accent#A99323
Second voice, not a rival
Dark variant#1F1967
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 #392dbb

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#AFBB2D
Analogous left#2D68BB
Analogous right#802DBB
Split-complement 1#BB802D
Split-complement 2#68BB2D
Triadic 1#BB392D
Triadic 2#2DBB39
Tetradic#BB2D68

RGB percentages

Red22.4%
Green17.6%
Blue73.3%

CMYK percentages

Cyan69.5%
Magenta75.9%
Yellow0.0%
Key (black)26.7%

Color previews

#392dbb text on a black background

contrast 2.27:1

Card sample

#392dbb text on a white background

contrast 9.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #392dbb;
Background color
Panel with #392dbb background
background-color: #392dbb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #392dbb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(57, 45, 187, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 45, 187, 0.45);
Border & gradient
Gradient panel
border: 3px solid #392dbb;
background: linear-gradient(135deg, #392dbb, #982DBB);

Monochromatic scale

Palettes built from #392dbb

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.

#392dbb 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.

#392dbb, answered

What color is #392dbb?

#392dbb is a balanced vivid blue, closest to Medium Blue (ΔE2000 6.2). It sits at 245° on the hue wheel with 61% saturation and 46% lightness, which reads as cool.

What is the RGB value of #392dbb?

rgb(57, 45, 187) — 57 red, 45 green and 187 blue out of 255, or 22.4% / 17.6% / 73.3% by channel.

Is #392dbb a light or a dark color?

It is a dark color. Relative luminance is 0.0633 and perceived brightness is 31%, so white text on it reaches 9.26:1.

Should I use black or white text on #392dbb?

White. It scores 9.26:1 against #392dbb, versus 2.27:1 for black — AAA at any size.

What is the complementary color of #392dbb?

#AFBB2D sits directly opposite on the wheel. Softer options are the split-complements #BB802D and #68BB2D, which give the same contrast with far less vibration.

What colors go well with #392dbb?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #514B9B for secondary text, #A99323 as an accent and #1F1967 for hover and pressed states. For a palette, the analogous pair #2D68BB and #802DBB stays calm, while #AFBB2D is the loudest partner.

What is #392dbb in CMYK for printing?

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

Is #392dbb 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 #6D2DBB; nudged cooler, #2B4FBD.

Work with #392dbb in the Color Lab