Skip to content

#3934af

a dark, vivid blue · cool · closest name: Dark Slate Blue

RGB
57, 52, 175
HSL
242°, 54%, 45%
CMYK
67, 70, 0, 31
Luminance
0.0642

At a glance

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

Hex
#3934af
Hue
242°
blue
Saturation
54%
vivid
Lightness
45%
dark
Brightness
69%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0642
WCAG relative
Temperature
Cool
82/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
9.19:1
Closest name
Dark Slate Blue
ΔE2000 6.9
Where it sits
Hue242° of 360°
Saturation54%
Lightness45%
Temperature
Warm ← → Cool82% 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#3934af
RGBrgb(57, 52, 175)
HSLhsl(242, 54%, 45%)
CMYKcmyk(67%, 70%, 0%, 31%)
LABlab(30.4 40.9 -64.6)
LCHlch(30.4 76.4 302.3)
OKLCHoklch(0.418 0.188 276.3)
Decimal3749039
Display P3color(display-p3 0.224 0.204 0.686)

Copy-ready code

/* CSS */
color: #3934af;
background-color: #3934af;
/* Tailwind (arbitrary) */
class="text-[#3934af] bg-[#3934af]"
/* SCSS */
$brand: #3934af;
/* SwiftUI */
Color(red: 0.224, green: 0.204, blue: 0.686)
/* Android */
Color.parseColor("#3934af")
/* Flutter */
Color(0xFF3934AF)
/* Python / OpenCV (BGR) */
(175, 52, 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 #3934af · 9.19:1
Use #ffffffAAA at every size.
Aa
White text · 9.19:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.28:1
AA fail · AA large fail · AAA fail
Reading the other direction: #3934af as text scores 9.19:1 on white and 2.28:1 on black.

Accessibility — WCAG contrast

Aa
#3934af on white: 9.19:1
AA ✓ pass · AA-large · AAA
Aa
#3934af on black: 2.28:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004DB3
deuteranopia · #0042AD
tritanopia · #00566D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #3934af 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
#EAE9F6
#CFCEEE
#ABA8E5
#817DD8
#5752CC
#3934af
#332F9D
#29257E
#211F5C
#151339
Base = 600Lightest = 50 · #F4F4FBDarkest = 950 · #151339
:root {
  --brand-50: #F4F4FB;
  --brand-100: #EAE9F6;
  --brand-200: #CFCEEE;
  --brand-300: #ABA8E5;
  --brand-400: #817DD8;
  --brand-500: #5752CC;
  --brand-600: #3934af;
  --brand-700: #332F9D;
  --brand-800: #29257E;
  --brand-900: #211F5C;
  --brand-950: #151339;
  --brand: #3934af;
  --brand-ink: #ffffff;
}

Colors that work with #3934af

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#C2C0EC
Hairlines and dividers
Muted text#4E4B9B
Captions on the surface
Accent#A2892A
Second voice, not a rival
Dark variant#201D62
Hover, pressed, headers
Light variant#ECEBF9
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 #3934af

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#AAAF34
Analogous left#346DAF
Analogous right#7634AF
Split-complement 1#AF7634
Split-complement 2#6DAF34
Triadic 1#AF3934
Triadic 2#34AF39
Tetradic#AF346D

RGB percentages

Red22.4%
Green20.4%
Blue68.6%

CMYK percentages

Cyan67.4%
Magenta70.3%
Yellow0.0%
Key (black)31.4%

Color previews

#3934af text on a black background

contrast 2.28:1

Card sample

#3934af text on a white background

contrast 9.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3934af;
Background color
Panel with #3934af background
background-color: #3934af;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3934af;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(57, 52, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 52, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3934af;
background: linear-gradient(135deg, #3934af, #8B34AF);

Monochromatic scale

Palettes built from #3934af

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.

#3934af 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.

#3934af, answered

What color is #3934af?

#3934af is a dark vivid blue, closest to Dark Slate Blue (ΔE2000 6.9). It sits at 242° on the hue wheel with 54% saturation and 45% lightness, which reads as cool.

What is the RGB value of #3934af?

rgb(57, 52, 175) — 57 red, 52 green and 175 blue out of 255, or 22.4% / 20.4% / 68.6% by channel.

Is #3934af a light or a dark color?

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

Should I use black or white text on #3934af?

White. It scores 9.19:1 against #3934af, versus 2.28:1 for black — AAA at any size.

What is the complementary color of #3934af?

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

What colors go well with #3934af?

For interface work: #F5F4FA as the surface, #C2C0EC for borders, #4E4B9B for secondary text, #A2892A as an accent and #201D62 for hover and pressed states. For a palette, the analogous pair #346DAF and #7634AF stays calm, while #AAAF34 is the loudest partner.

What is #3934af in CMYK for printing?

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

Is #3934af warm or cool?

Cool — it scores 82 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6634AF; nudged cooler, #3255B1.

Work with #3934af in the Color Lab