Skip to content

#393dcc

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

RGB
57, 61, 204
HSL
238°, 59%, 51%
CMYK
72, 70, 0, 20
Luminance
0.0857

At a glance

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

Hex
#393dcc
Hue
238°
blue
Saturation
59%
vivid
Lightness
51%
balanced
Brightness
80%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0857
WCAG relative
Temperature
Cool
84/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.74:1
Closest name
Blue
ΔE2000 8.4
Where it sits
Hue238° of 360°
Saturation59%
Lightness51%
Temperature
Warm ← → Cool84% 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#393dcc
RGBrgb(57, 61, 204)
HSLhsl(238, 59%, 51%)
CMYKcmyk(72%, 70%, 0%, 20%)
LABlab(35.1 45.2 -74.0)
LCHlch(35.1 86.7 301.4)
OKLCHoklch(0.460 0.214 272.9)
Decimal3751372
Display P3color(display-p3 0.224 0.239 0.800)

Copy-ready code

/* CSS */
color: #393dcc;
background-color: #393dcc;
/* Tailwind (arbitrary) */
class="text-[#393dcc] bg-[#393dcc]"
/* SCSS */
$brand: #393dcc;
/* SwiftUI */
Color(red: 0.224, green: 0.239, blue: 0.800)
/* Android */
Color.parseColor("#393dcc")
/* Flutter */
Color(0xFF393DCC)
/* Python / OpenCV (BGR) */
(204, 61, 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 #393dcc · 7.74:1
Use #ffffffAAA at every size.
Aa
White text · 7.74:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.71:1
AA fail · AA large fail · AAA fail
Reading the other direction: #393dcc as text scores 7.74:1 on white and 2.71:1 on black.

Accessibility — WCAG contrast

Aa
#393dcc on white: 7.74:1
AA ✓ pass · AA-large · AAA
Aa
#393dcc on black: 2.71:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005AD0
deuteranopia · #004CC9
tritanopia · #006580

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #393dcc 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
#E9E9F7
#CDCEEF
#A6A8E8
#797CDC
#4D50D1
#393dcc
#2A2DA2
#212482
#1C1E5E
#11133B
Base = 600Lightest = 50 · #F4F4FBDarkest = 950 · #11133B
:root {
  --brand-50: #F4F4FB;
  --brand-100: #E9E9F7;
  --brand-200: #CDCEEF;
  --brand-300: #A6A8E8;
  --brand-400: #797CDC;
  --brand-500: #4D50D1;
  --brand-600: #393dcc;
  --brand-700: #2A2DA2;
  --brand-800: #212482;
  --brand-900: #1C1E5E;
  --brand-950: #11133B;
  --brand: #393dcc;
  --brand-ink: #ffffff;
}

Colors that work with #393dcc

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#C0C1ED
Hairlines and dividers
Muted text#4B4D9B
Captions on the surface
Accent#A68326
Second voice, not a rival
Dark variant#1A1C65
Hover, pressed, headers
Light variant#EBEBFA
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 #393dcc

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#CCC839
Analogous left#3986CC
Analogous right#7F39CC
Split-complement 1#CC7F39
Split-complement 2#86CC39
Triadic 1#CC393D
Triadic 2#3DCC39
Tetradic#CC3986

RGB percentages

Red22.4%
Green23.9%
Blue80.0%

CMYK percentages

Cyan72.1%
Magenta70.1%
Yellow0.0%
Key (black)20.0%

Color previews

#393dcc text on a black background

contrast 2.71:1

Card sample

#393dcc text on a white background

contrast 7.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #393dcc;
Background color
Panel with #393dcc background
background-color: #393dcc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #393dcc;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #393dcc

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.

#393dcc 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.

#393dcc, answered

What color is #393dcc?

#393dcc is a balanced vivid blue, closest to Blue (ΔE2000 8.4). It sits at 238° on the hue wheel with 59% saturation and 51% lightness, which reads as cool.

What is the RGB value of #393dcc?

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

Is #393dcc a light or a dark color?

It is a dark color. Relative luminance is 0.0857 and perceived brightness is 35%, so white text on it reaches 7.74:1.

Should I use black or white text on #393dcc?

White. It scores 7.74:1 against #393dcc, versus 2.71:1 for black — AAA at any size.

What is the complementary color of #393dcc?

#CCC839 sits directly opposite on the wheel. Softer options are the split-complements #CC7F39 and #86CC39, which give the same contrast with far less vibration.

What colors go well with #393dcc?

For interface work: #F4F4FA as the surface, #C0C1ED for borders, #4B4D9B for secondary text, #A68326 as an accent and #1A1C65 for hover and pressed states. For a palette, the analogous pair #3986CC and #7F39CC stays calm, while #CCC839 is the loudest partner.

What is #393dcc in CMYK for printing?

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

Is #393dcc warm or cool?

Cool — it scores 84 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6B39CC; nudged cooler, #3761CE.

Work with #393dcc in the Color Lab