Skip to content

#394bc9

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

RGB
57, 75, 201
HSL
233°, 57%, 51%
CMYK
72, 63, 0, 21
Luminance
0.1012

At a glance

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

Hex
#394bc9
Hue
233°
blue
Saturation
57%
vivid
Lightness
51%
balanced
Brightness
79%
HSV value
Perceived
37%
weighted brightness
Luminance
0.1012
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
6.94:1
Closest name
Slate Blue
ΔE2000 8
Where it sits
Hue233° of 360°
Saturation57%
Lightness51%
Temperature
Warm ← → Cool88% 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#394bc9
RGBrgb(57, 75, 201)
HSLhsl(233, 57%, 51%)
CMYKcmyk(72%, 63%, 0%, 21%)
LABlab(38.0 35.7 -67.5)
LCHlch(38.0 76.3 297.9)
OKLCHoklch(0.480 0.195 270.8)
Decimal3754953
Display P3color(display-p3 0.224 0.294 0.788)

Copy-ready code

/* CSS */
color: #394bc9;
background-color: #394bc9;
/* Tailwind (arbitrary) */
class="text-[#394bc9] bg-[#394bc9]"
/* SCSS */
$brand: #394bc9;
/* SwiftUI */
Color(red: 0.224, green: 0.294, blue: 0.788)
/* Android */
Color.parseColor("#394bc9")
/* Flutter */
Color(0xFF394BC9)
/* Python / OpenCV (BGR) */
(201, 75, 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 #394bc9 · 6.94:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.94:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.02:1
AA fail · AA large pass · AAA fail
Reading the other direction: #394bc9 as text scores 6.94:1 on white and 3.02:1 on black.

Accessibility — WCAG contrast

Aa
#394bc9 on white: 6.94:1
AA ✓ pass · AA-large · AAA
Aa
#394bc9 on black: 3.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0060CD
deuteranopia · #0053C7
tritanopia · #006C83

Color scale — 50 to 950

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

#F4F5FB
#E9EBF7
#CDD1EF
#A7AFE7
#7B87DB
#4F5FCF
#394bc9
#2C3AA0
#232F80
#1D255D
#12173A
Base = 600Lightest = 50 · #F4F5FBDarkest = 950 · #12173A
:root {
  --brand-50: #F4F5FB;
  --brand-100: #E9EBF7;
  --brand-200: #CDD1EF;
  --brand-300: #A7AFE7;
  --brand-400: #7B87DB;
  --brand-500: #4F5FCF;
  --brand-600: #394bc9;
  --brand-700: #2C3AA0;
  --brand-800: #232F80;
  --brand-900: #1D255D;
  --brand-950: #12173A;
  --brand: #394bc9;
  --brand-ink: #ffffff;
}

Colors that work with #394bc9

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#F4F5FA
Tinted page background
Border#C0C5ED
Hairlines and dividers
Muted text#4B559B
Captions on the surface
Accent#A47528
Second voice, not a rival
Dark variant#1B2464
Hover, pressed, headers
Light variant#EBEDFA
Selected rows, tints
Dark surface#141624
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 #394bc9

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#C9B739
Analogous left#3993C9
Analogous right#6F39C9
Split-complement 1#C96F39
Split-complement 2#93C939
Triadic 1#C9394B
Triadic 2#4BC939
Tetradic#C93993

RGB percentages

Red22.4%
Green29.4%
Blue78.8%

CMYK percentages

Cyan71.6%
Magenta62.7%
Yellow0.0%
Key (black)21.2%

Color previews

#394bc9 text on a black background

contrast 3.02:1

Card sample

#394bc9 text on a white background

contrast 6.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #394bc9;
Background color
Panel with #394bc9 background
background-color: #394bc9;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #394bc9;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(57, 75, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 75, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #394bc9;
background: linear-gradient(135deg, #394bc9, #8739C9);

Monochromatic scale

Palettes built from #394bc9

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.

#394bc9 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.

#394bc9, answered

What color is #394bc9?

#394bc9 is a balanced vivid blue, closest to Slate Blue (ΔE2000 8). It sits at 233° on the hue wheel with 57% saturation and 51% lightness, which reads as cool.

What is the RGB value of #394bc9?

rgb(57, 75, 201) — 57 red, 75 green and 201 blue out of 255, or 22.4% / 29.4% / 78.8% by channel.

Is #394bc9 a light or a dark color?

It is a dark color. Relative luminance is 0.1012 and perceived brightness is 37%, so white text on it reaches 6.94:1.

Should I use black or white text on #394bc9?

White. It scores 6.94:1 against #394bc9, versus 3.02:1 for black — AA at any size.

What is the complementary color of #394bc9?

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

What colors go well with #394bc9?

For interface work: #F4F5FA as the surface, #C0C5ED for borders, #4B559B for secondary text, #A47528 as an accent and #1B2464 for hover and pressed states. For a palette, the analogous pair #3993C9 and #6F39C9 stays calm, while #C9B739 is the loudest partner.

What is #394bc9 in CMYK for printing?

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

Is #394bc9 warm or cool?

Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5C39C9; nudged cooler, #3767CB.

Work with #394bc9 in the Color Lab