Skip to content
blue · cool

#323164

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

Token name suggestion: Dusk Cobalt

RGB
50, 49, 100
HSL
241°, 34%, 29%
CMYK
50, 51, 0, 61
Luminance
0.0379

#323164 is a dark soft blue, 241° on the wheel and 82/100 on the cool side. Put white text on it (11.94:1). As text it scores 11.94:1 on white — safe at any size. Nearest name is Dark Slate Blue, nearest Tailwind family is slate.

hsl(241 34% 29%)rgb(50 49 100)Base step 800AAA inkCool

At a glance

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

Hex
#323164
Hue
241°
blue
Saturation
34%
soft
Lightness
29%
dark
Brightness
39%
HSV value
Perceived
23%
weighted brightness
Luminance
0.0379
WCAG relative
Temperature
Cool
82/100 cool
Color family
Blue
Tone
Soft
Best ink
White
11.94:1
Closest name
Dark Slate Blue
ΔE2000 7.7
Chroma
33.9
LCH, 0–130ish
OKLCH L
0.342
perceptual lightness
Tailwind
slate
500 · ΔE 23.3
Web-safe
#333366
nearest of 216
Where it sits
Hue241° of 360°
Saturation34%
Lightness29%
Saturation × lightness field

Left edge is grey, right edge is full chroma; top is white, bottom is black. The dot is #323164.

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.

Luminance by channel
Red18%
Green58%
Blue24%

Green carries most of what the eye calls brightness — that is why WCAG weights it 0.7152.

Every format

HEX#323164
HEX (8-digit)#323164ff
RGBrgb(50, 49, 100)
RGBArgba(50, 49, 100, 1)
HSLhsl(241, 34%, 29%)
HSV / HSBhsv(241, 51%, 39%)
HWBhwb(241 19% 61%)
CMYKcmyk(50%, 51%, 0%, 61%)
LABlab(23.0 15.7 -30.1)
LCHlch(23.0 33.9 297.5)
OKLCHoklch(0.342 0.087 281.6)
XYZ (D65)xyz(4.71, 3.79, 12.54)
Decimal3289444
Display P3color(display-p3 0.196 0.192 0.392)
Web-safe#333366

Copy-ready code

every platformclick to select
/* CSS */
color: #323164;
background-color: #323164;
/* CSS custom property */
--brand: #323164;
/* Tailwind (arbitrary) */
class="text-[#323164] bg-[#323164]"
/* SCSS */
$brand: #323164;
/* SwiftUI */
Color(red: 0.196, green: 0.192, blue: 0.392)
/* UIKit */
UIColor(red: 0.196, green: 0.192, blue: 0.392, alpha: 1)
/* Android XML */
<color name="brand">#323164</color>
/* Android Compose */
Color(0xFF323164)
/* Flutter */
Color(0xFF323164)
/* Python / OpenCV (BGR) */
(100, 49, 50)
/* Python / PIL (RGB) */
(50, 49, 100)
/* Java AWT */
new Color(50, 49, 100)
/* .NET */
Color.FromArgb(255, 50, 49, 100)
/* OpenGL / Unity (0–1) */
(0.1961f, 0.1922f, 0.3922f, 1f)
/* LaTeX */
\definecolor{brand}{RGB}{50,49,100}
modern cssclick to select
/* mix without leaving CSS */
background: color-mix(in oklab, #323164 85%, white);
border-color: color-mix(in oklab, #323164 40%, transparent);
/* theme-aware in one line */
color: light-dark(#2B2A56, #D6D6EB);
/* relative colour syntax */
--hover: hsl(from #323164 h s calc(l - 7));

Design tokens

The same ramp in the four formats a team actually needs. Paste one and the whole palette lands with it.

css custom propertiesclick to select
:root {
  --brand-50: #F5F5F9;
  --brand-100: #ECECF4;
  --brand-200: #D4D4E8;
  --brand-300: #B4B4DA;
  --brand-400: #8F8EC8;
  --brand-500: #6A68B5;
  --brand-600: #5251A4;
  --brand-700: #454389;
  --brand-800: #323164;
  --brand-900: #2B2A50;
  --brand-950: #1B1A32;
  --brand: #323164;
  --brand-ink: #ffffff;
  --brand-surface: #F5F5FA;
  --brand-border: #C9C8E4;
  --brand-hover: #26254C;
  --brand-pressed: #1A1A34;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-surface: #141424;
    --brand-ink: #D6D6EB;
  }
}
tailwind.config.jsclick to select
theme: {
  extend: {
    colors: {
      brand: {
        50: '#F5F5F9',
        100: '#ECECF4',
        200: '#D4D4E8',
        300: '#B4B4DA',
        400: '#8F8EC8',
        500: '#6A68B5',
        600: '#5251A4',
        700: '#454389',
        800: '#323164',
        900: '#2B2A50',
        950: '#1B1A32',
        DEFAULT: '#323164',
      },
    },
  },
}
scss mapclick to select
$brand: (
  '50': #F5F5F9,
  '100': #ECECF4,
  '200': #D4D4E8,
  '300': #B4B4DA,
  '400': #8F8EC8,
  '500': #6A68B5,
  '600': #5251A4,
  '700': #454389,
  '800': #323164,
  '900': #2B2A50,
  '950': #1B1A32,
);
$brand-base: #323164;
$brand-ink: #ffffff;

@function brand($step) { @return map-get($brand, $step); }
w3c design tokens (json)click to select
{
  "color": {
    "brand": {
      "50": { "$value": "#F5F5F9", "$type": "color" },
      "100": { "$value": "#ECECF4", "$type": "color" },
      "200": { "$value": "#D4D4E8", "$type": "color" },
      "300": { "$value": "#B4B4DA", "$type": "color" },
      "400": { "$value": "#8F8EC8", "$type": "color" },
      "500": { "$value": "#6A68B5", "$type": "color" },
      "600": { "$value": "#5251A4", "$type": "color" },
      "700": { "$value": "#454389", "$type": "color" },
      "800": { "$value": "#323164", "$type": "color" },
      "900": { "$value": "#2B2A50", "$type": "color" },
      "950": { "$value": "#1B1A32", "$type": "color" }
    },
    "brandInk": { "$value": "#ffffff", "$type": "color" }
  }
}

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 #323164 · 11.94:1
Use #ffffffAAA at every size.
Aa
12px
Aa
16px
Aa
24px
Aa
White text · 11.94:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.76:1
AA fail · AA large fail · AAA fail
Reading the other direction: #323164 as text scores 11.94:1 on white and 1.76:1 on black.
Best tinted ink on it, if plain black or white feels flat: #EEEEF7 at 10.35:1.

Make it accessible

A contrast checker tells you that you failed. This tells you what to ship instead — same hue, same saturation, lightness moved only as far as WCAG demands.

The quick fox
#323164 · 11.94:1
AA on whitealready passes
#323164
The quick fox
#323164 · 11.94:1
AAA on whitealready passes
#323164
The quick fox
#6E6DB7 · 4.53:1
AA on black+28% L
#6E6DB7
The quick fox
#9392CA · 7.21:1
AAA on black+39% L
#9392CA

Large text — 24px regular or 18.66px bold and above — only needs 3:1, so #323164 is enough for headings on white. Non-text elements such as icons, chart strokes and focus rings also sit at 3:1 under WCAG 2.2 (1.4.11).

Accessibility — WCAG contrast

Aa
#323164 on white: 11.94:1
AA ✓ pass · AA-large · AAA
Aa
#323164 on black: 1.76:1
AA ✗ fail · AA-large · AAA
Against the neutral ladder

Contrast is symmetric, so each row covers both directions: #323164 as text on that neutral, and that neutral as text on #323164.

NeutralRatioBoth directions
White11.94:1AaAa
Slate 5011.41:1AaAa
Slate 10010.90:1AaAa
Slate 2009.68:1AaAa
Slate 3008.04:1AaAa
Slate 4004.66:1AaAa
Slate 5002.51:1AaAa
Slate 6001.58:1AaAa
Slate 7001.15:1AaAa
Slate 8001.23:1AaAa
Slate 9001.50:1AaAa
Black1.76:1AaAa
Colour vision deficiency
true color
protanopia · #1B3966
deuteranopia · #183563
tritanopia · #213C45

Roughly one man in twelve has some form of colour vision deficiency. If any of the three panels above is hard to tell apart from a neighbouring colour in your palette, add a shape, an icon or a label so the meaning does not rest on hue alone.

Color scale — 50 to 950

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

#F5F5F9
#ECECF4
#D4D4E8
#B4B4DA
#8F8EC8
#6A68B5
#5251A4
#454389
#323164
#2B2A50
#1B1A32
Base = 800Lightest = 50 · #F5F5F9Darkest = 950 · #1B1A32Text step on white = 500
Perceptual ramp — OKLCH

The same eleven steps expressed in OKLCH, where equal lightness numbers actually look equally spaced. HSL ramps go muddy in the yellows and washed out in the blues; this one does not. Modern browsers render it natively — the hex ramp above is the fallback.

50100200300400500600700800900950
oklch tokensclick to select
:root {
  --brand-50: oklch(0.97 0.022 281.6);
  --brand-100: oklch(0.94 0.035 281.6);
  --brand-200: oklch(0.88 0.052 281.6);
  --brand-300: oklch(0.80 0.068 281.6);
  --brand-400: oklch(0.72 0.080 281.6);
  --brand-500: oklch(0.64 0.087 281.6);
  --brand-600: oklch(0.56 0.087 281.6);
  --brand-700: oklch(0.48 0.082 281.6);
  --brand-800: oklch(0.40 0.073 281.6);
  --brand-900: oklch(0.32 0.061 281.6);
  --brand-950: oklch(0.24 0.048 281.6);
}

Colors that work with #323164

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#F5F5FA
Tinted page background
Border#C9C8E4
Hairlines and dividers
Muted text#4D4C9A
Captions on the surface
Accent#675A2E
Second voice, not a rival
Dark variant#2B2A56
Hover, pressed, headers
Light variant#EEEEF7
Selected rows, tints
Dark surface#141424
Dark-mode background
Hover#26254C
One step down in lightness
Pressed#1A1A34
Two steps down
Disabled#68679E
Chroma pulled out
Focus ring#312F7A
Offset from the fill so it reads
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

In real components

The same eight roles, wired into the interface patterns you will actually build with them. Every state below is a computed value, not a mock-up.

Buttons and states
Save changesHoverPressedDisabled
OutlineSubtleLinkFocused
Form field
you@company.com

Focus ring uses the light variant so the field still reads as one shape.

Send me product updates
Notice
Your export is ready

The file stays available for seven days. Download it before it expires.

NewBetaDraft
Data
Storage used68%
Acme LtdActive
NorthwindTrial
GlobexActive

How to use #323164

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate
Minimum size as text on white
Any size
Safe as a fill behind white type
Yes
Safe as a 1px border on white
Yes

Meaning and mood

What a colour in this family tends to signal, and how this particular chroma and lightness change the reading.

trustedcalmcompetentcorporate

The default of institutions for a reason: blue is read as stable and safe across nearly every culture that has been surveyed.

The muted chroma softens the association — it reads considered rather than loud, which suits long-form and data-heavy screens. The low lightness adds weight and formality.

Worth knowing

It is also the most crowded hue on the web. Distinctiveness has to come from your other choices.

Reads as
  • FormalityHigh
  • EnergyMedium
  • Weight71/100
  • TemperatureCool
  • ApproachabilityReserved

Colour associations are cultural and vary by market. Treat these as a starting point for a conversation with your audience, not a finding about them.

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#636431
Analogous left#314964
Analogous right#4B3164
Split-complement 1#644B31
Split-complement 2#496431
Triadic 1#643231
Triadic 2#316432
Tetradic#643149
On the wheel
Base+30°−30°+120°+240°+180°241°

#323164 sits at 241°. Every dot is a harmony position and links to its own page in the table alongside.

RGB percentages

Red19.6%
Green19.2%
Blue39.2%
R · 0–255
50
0x32
G · 0–255
49
0x31
B · 0–255
100
0x64

CMYK percentages

Cyan50.0%
Magenta51.0%
Yellow0.0%
Key (black)60.8%

Total ink coverage is 162%. Most commercial presses cap around 300% — above that, sheets stop drying properly.

Color previews

#323164 text on a black background

contrast 1.76:1

Card sample

#323164 text on a white background

contrast 11.94:1

Card sample

#323164 on grey

10.90:1

#323164 on its own surface

10.99:1

#323164 on its dark surface

1.52:1

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(50, 49, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(50, 49, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #323164;
background: linear-gradient(135deg, #323164, #543164);
Gradient text

Gradient headline

background: linear-gradient(90deg, #323164, #613164);
-webkit-background-clip: text;
color: transparent;
Focus ring
Focused control
outline: 2px solid #323164;
outline-offset: 3px;
Underline & caret

Marked up text

text-decoration-color: #323164;
caret-color: #323164;
Left rule
Pull quote or callout
border-left: 4px solid #323164;
Ring + tint
Selected chip
background: #EEEEF7;
box-shadow: inset 0 0 0 2px #323164;
Conic badge
68%
background: conic-gradient(#323164 68%, #e2e8f0 0);

Transparency

What each alpha value actually composites to. The top row is #323164 over white; the bottom row is the same alpha over a checkerboard, so you can see what survives on a photo or a video.

Bottom row of hexes is the flattened result over white — use those when a design tool refuses transparency, or when you need a solid fallback.

alpha in every syntaxclick to select
rgba(50, 49, 100, 0.5)
rgb(50 49 100 / 50%)
#32316480
hsl(241 34% 29% / 50%)
color-mix(in srgb, #323164 50%, transparent)
Alpha8-digit hexFlat on white
10%#3231641a#EBEAF0
20%#32316433#D6D6E0
40%#32316466#ADADC1
60%#32316499#8483A2
80%#323164cc#5B5A83

Gradients from #323164

Six recipes, each built from this hex and shown with the exact CSS that produced it.

Elevation
Same hue, three lightnesses — safe anywhere
background: linear-gradient(135deg, #47458D, #323164 45%, #2B2A56);
Duotone
A short hue run reads richer than a flat fill
background: linear-gradient(120deg, #323164, #46274F);
Complement sweep
Loud — keep it behind large type only
background: linear-gradient(90deg, #323164, #636431);
Spotlight
Hero panels and app headers
background: radial-gradient(120% 120% at 20% 0%, #514FA2 0%, #323164 45%, #2B2A56 100%);
Soft wash
Section backgrounds that stay readable
background: linear-gradient(180deg, #F5F5FA, #ffffff);
Mesh
Ambient background, no image weight
background: radial-gradient(60% 60% at 15% 20%, #426886 0%, transparent 60%), radial-gradient(55% 55% at 85% 15%, #603B78 0%, transparent 60%), radial-gradient(70% 70% at 50% 95%, #2B2A56 0%, transparent 65%), #323164;

Monochromatic scale

Palettes built from #323164

Shades — darker

Tints — lighter

Tones — desaturated

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.

#323164 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.

On screens

Very dark values collapse into each other on cheap panels — leave more lightness between your darkest steps than the numbers suggest.

In dark mode

Too dim on dark surfaces at 1.76:1 — lift it to #6E6DB7 for body text, or reserve it for fills.

Explore nearby colors

Small, deliberate steps away from this hex — useful when you are hunting for the version of a colour that finally feels right.

#323164, answered

What color is #323164?

#323164 is a dark soft blue, closest to Dark Slate Blue (ΔE2000 7.7). It sits at 241° on the hue wheel with 34% saturation and 29% lightness, which reads as cool.

What is the RGB value of #323164?

rgb(50, 49, 100) — 50 red, 49 green and 100 blue out of 255, or 19.6% / 19.2% / 39.2% by channel.

What is #323164 in HSL and HSV?

hsl(241, 34%, 29%) and hsv(241, 51%, 39%). HSL is what CSS takes; HSV is what your design tool's picker shows, which is why the saturation numbers rarely match.

Is #323164 a light or a dark color?

It is a dark color. Relative luminance is 0.0379 and perceived brightness is 23%, so white text on it reaches 11.94:1.

Should I use black or white text on #323164?

White. It scores 11.94:1 against #323164, versus 1.76:1 for black — AAA at any size.

Is #323164 accessible on a white background?

#323164 on white scores 11.94:1, which clears AAA at every size.

What is the complementary color of #323164?

#636431 sits directly opposite on the wheel. Softer options are the split-complements #644B31 and #496431, which give the same contrast with far less vibration.

What colors go well with #323164?

For interface work: #F5F5FA as the surface, #C9C8E4 for borders, #4D4C9A for secondary text, #675A2E as an accent and #2B2A56 for hover and pressed states. For a palette, the analogous pair #314964 and #4B3164 stays calm, while #636431 is the loudest partner.

What is #323164 in CMYK for printing?

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

Is #323164 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 #453164; nudged cooler, #304265.

Which Tailwind color is closest to #323164?

The slate family — its 500 step is #64748b, ΔE2000 23.3 away. That is a visible difference, so define #323164 as a custom token rather than reaching for the built-in.

How do I use #323164 in Tailwind CSS?

Inline it as an arbitrary value with bg-[#323164] or text-[#323164], or register the whole ramp under theme.extend.colors.brand so you get bg-brand-500 and friends. The generated 50–950 scale on this page is ready to paste into your config.

What is #323164 with 50% opacity?

rgba(50, 49, 100, 0.5), or #32316480 in eight-digit hex. Over white that composites to #9998B2; over black, #191932.

Is #323164 a web-safe color?

No. The nearest web-safe colour is #333366, ΔE2000 0.6 away. The palette only matters for legacy displays and some email clients now.

What does the color #323164 mean?

As a blue, it reads trusted, calm, competent. The default of institutions for a reason: blue is read as stable and safe across nearly every culture that has been surveyed. At this moderate chroma the association is present but not shouted.

What gradient works with #323164?

The safest is same-hue elevation: linear-gradient(135deg, #47458D, #323164 45%, #2B2A56). For more colour, a short hue run to #46274F keeps it rich without turning muddy.

Work with #323164 in the Color Lab

Every tool opens with this colour already loaded.

Every value on this page is computed from #323164 at request time — conversions, contrast ratios and ΔE distances are calculated, never looked up.