Skip to content

#352f8f

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

RGB
53, 47, 143
HSL
244°, 51%, 37%
CMYK
63, 67, 0, 44
Luminance
0.0477

At a glance

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

Hex
#352f8f
Hue
244°
blue
Saturation
51%
vivid
Lightness
37%
dark
Brightness
56%
HSV value
Perceived
26%
weighted brightness
Luminance
0.0477
WCAG relative
Temperature
Cool
81/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
10.74:1
Closest name
Dark Slate Blue
ΔE2000 5
Where it sits
Hue244° of 360°
Saturation51%
Lightness37%
Temperature
Warm ← → Cool81% 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#352f8f
RGBrgb(53, 47, 143)
HSLhsl(244, 51%, 37%)
CMYKcmyk(63%, 67%, 0%, 44%)
LABlab(26.1 32.5 -52.3)
LCHlch(26.1 61.6 301.9)
OKLCHoklch(0.376 0.153 278.9)
Decimal3485583
Display P3color(display-p3 0.208 0.184 0.561)

Copy-ready code

/* CSS */
color: #352f8f;
background-color: #352f8f;
/* Tailwind (arbitrary) */
class="text-[#352f8f] bg-[#352f8f]"
/* SCSS */
$brand: #352f8f;
/* SwiftUI */
Color(red: 0.208, green: 0.184, blue: 0.561)
/* Android */
Color.parseColor("#352f8f")
/* Flutter */
Color(0xFF352F8F)
/* Python / OpenCV (BGR) */
(143, 47, 53)

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

Accessibility — WCAG contrast

Aa
#352f8f on white: 10.74:1
AA ✓ pass · AA-large · AAA
Aa
#352f8f on black: 1.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004292
deuteranopia · #003A8D
tritanopia · #00485A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #352f8f is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5F4FA
#EAEAF6
#D1CFED
#AEABE3
#8680D5
#5D56C7
#443DB8
#352f8f
#2E287B
#24215A
#171438
Base = 700Lightest = 50 · #F5F4FADarkest = 950 · #171438
:root {
  --brand-50: #F5F4FA;
  --brand-100: #EAEAF6;
  --brand-200: #D1CFED;
  --brand-300: #AEABE3;
  --brand-400: #8680D5;
  --brand-500: #5D56C7;
  --brand-600: #443DB8;
  --brand-700: #352f8f;
  --brand-800: #2E287B;
  --brand-900: #24215A;
  --brand-950: #171438;
  --brand: #352f8f;
  --brand-ink: #ffffff;
}

Colors that work with #352f8f

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#C4C2EB
Hairlines and dividers
Muted text#504B9B
Captions on the surface
Accent#93802B
Second voice, not a rival
Dark variant#242060
Hover, pressed, headers
Light variant#EDECF9
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 #352f8f

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#898F2F
Analogous left#2F598F
Analogous right#652F8F
Split-complement 1#8F652F
Split-complement 2#598F2F
Triadic 1#8F352F
Triadic 2#2F8F35
Tetradic#8F2F59

RGB percentages

Red20.8%
Green18.4%
Blue56.1%

CMYK percentages

Cyan62.9%
Magenta67.1%
Yellow0.0%
Key (black)43.9%

Color previews

#352f8f text on a black background

contrast 1.95:1

Card sample

#352f8f text on a white background

contrast 10.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #352f8f;
Background color
Panel with #352f8f background
background-color: #352f8f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #352f8f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(53, 47, 143, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(53, 47, 143, 0.45);
Border & gradient
Gradient panel
border: 3px solid #352f8f;
background: linear-gradient(135deg, #352f8f, #752F8F);

Monochromatic scale

Palettes built from #352f8f

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.

#352f8f 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.

#352f8f, answered

What color is #352f8f?

#352f8f is a dark vivid blue, closest to Dark Slate Blue (ΔE2000 5). It sits at 244° on the hue wheel with 51% saturation and 37% lightness, which reads as cool.

What is the RGB value of #352f8f?

rgb(53, 47, 143) — 53 red, 47 green and 143 blue out of 255, or 20.8% / 18.4% / 56.1% by channel.

Is #352f8f a light or a dark color?

It is a dark color. Relative luminance is 0.0477 and perceived brightness is 26%, so white text on it reaches 10.74:1.

Should I use black or white text on #352f8f?

White. It scores 10.74:1 against #352f8f, versus 1.95:1 for black — AAA at any size.

What is the complementary color of #352f8f?

#898F2F sits directly opposite on the wheel. Softer options are the split-complements #8F652F and #598F2F, which give the same contrast with far less vibration.

What colors go well with #352f8f?

For interface work: #F5F4FA as the surface, #C4C2EB for borders, #504B9B for secondary text, #93802B as an accent and #242060 for hover and pressed states. For a palette, the analogous pair #2F598F and #652F8F stays calm, while #898F2F is the loudest partner.

What is #352f8f in CMYK for printing?

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

Is #352f8f warm or cool?

Cool — it scores 81 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #582F8F; nudged cooler, #2D4B91.

Work with #352f8f in the Color Lab