Skip to content

#6b6bab

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

RGB
107, 107, 171
HSL
240°, 28%, 55%
CMYK
37, 37, 0, 33
Luminance
0.1658

At a glance

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

Hex
#6b6bab
Hue
240°
blue
Saturation
28%
soft
Lightness
55%
balanced
Brightness
67%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1658
WCAG relative
Temperature
Cool
76/100 cool
Color family
Blue
Tone
Soft
Best ink
White
4.87:1
Closest name
Slate Blue
ΔE2000 8.5
Where it sits
Hue240° of 360°
Saturation28%
Lightness55%
Temperature
Warm ← → Cool76% 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#6b6bab
RGBrgb(107, 107, 171)
HSLhsl(240, 28%, 55%)
CMYKcmyk(37%, 37%, 0%, 33%)
LABlab(47.7 16.0 -34.2)
LCHlch(47.7 37.8 295.0)
OKLCHoklch(0.555 0.098 282.7)
Decimal7039915
Display P3color(display-p3 0.420 0.420 0.671)

Copy-ready code

/* CSS */
color: #6b6bab;
background-color: #6b6bab;
/* Tailwind (arbitrary) */
class="text-[#6b6bab] bg-[#6b6bab]"
/* SCSS */
$brand: #6b6bab;
/* SwiftUI */
Color(red: 0.420, green: 0.420, blue: 0.671)
/* Android */
Color.parseColor("#6b6bab")
/* Flutter */
Color(0xFF6B6BAB)
/* Python / OpenCV (BGR) */
(171, 107, 107)

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 #6b6bab · 4.87:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.87:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.32:1
AA fail · AA large pass · AAA fail
Reading the other direction: #6b6bab as text scores 4.87:1 on white and 4.32:1 on black.

Accessibility — WCAG contrast

Aa
#6b6bab on white: 4.87:1
AA ✓ pass · AA-large · AAA
Aa
#6b6bab on black: 4.32:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5673AE
deuteranopia · #546FA9
tritanopia · #597783

Color scale — 50 to 950

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

#F6F6F9
#ECECF3
#D6D6E6
#B7B7D6
#9494C2
#6b6bab
#59599C
#4A4A82
#3B3B68
#2E2E4D
#1D1D30
Base = 500Lightest = 50 · #F6F6F9Darkest = 950 · #1D1D30
:root {
  --brand-50: #F6F6F9;
  --brand-100: #ECECF3;
  --brand-200: #D6D6E6;
  --brand-300: #B7B7D6;
  --brand-400: #9494C2;
  --brand-500: #6b6bab;
  --brand-600: #59599C;
  --brand-700: #4A4A82;
  --brand-800: #3B3B68;
  --brand-900: #2E2E4D;
  --brand-950: #1D1D30;
  --brand: #6b6bab;
  --brand-ink: #ffffff;
}

Colors that work with #6b6bab

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#F5F5F9
Tinted page background
Border#CBCBE1
Hairlines and dividers
Muted text#535392
Captions on the surface
Accent#877645
Second voice, not a rival
Dark variant#2E2E51
Hover, pressed, headers
Light variant#EFEFF6
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 #6b6bab

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

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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#ABAB6B
Analogous left#6B8BAB
Analogous right#8B6BAB
Split-complement 1#AB8B6B
Split-complement 2#8BAB6B
Triadic 1#AB6B6B
Triadic 2#6BAB6B
Tetradic#AB6B8B

RGB percentages

Red42.0%
Green42.0%
Blue67.1%

CMYK percentages

Cyan37.4%
Magenta37.4%
Yellow0.0%
Key (black)32.9%

Color previews

#6b6bab text on a black background

contrast 4.32:1

Card sample

#6b6bab text on a white background

contrast 4.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(107, 107, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(107, 107, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6b6bab;
background: linear-gradient(135deg, #6b6bab, #966BAB);

Monochromatic scale

Palettes built from #6b6bab

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.

#6b6bab 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.

#6b6bab, answered

What color is #6b6bab?

#6b6bab is a balanced soft blue, closest to Slate Blue (ΔE2000 8.5). It sits at 240° on the hue wheel with 28% saturation and 55% lightness, which reads as cool.

What is the RGB value of #6b6bab?

rgb(107, 107, 171) — 107 red, 107 green and 171 blue out of 255, or 42% / 42% / 67.1% by channel.

Is #6b6bab a light or a dark color?

It is a dark color. Relative luminance is 0.1658 and perceived brightness is 46%, so white text on it reaches 4.87:1.

Should I use black or white text on #6b6bab?

White. It scores 4.87:1 against #6b6bab, versus 4.32:1 for black — AA at any size.

What is the complementary color of #6b6bab?

#ABAB6B sits directly opposite on the wheel. Softer options are the split-complements #AB8B6B and #8BAB6B, which give the same contrast with far less vibration.

What colors go well with #6b6bab?

For interface work: #F5F5F9 as the surface, #CBCBE1 for borders, #535392 for secondary text, #877645 as an accent and #2E2E51 for hover and pressed states. For a palette, the analogous pair #6B8BAB and #8B6BAB stays calm, while #ABAB6B is the loudest partner.

What is #6b6bab in CMYK for printing?

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

Is #6b6bab warm or cool?

Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #826BAB; nudged cooler, #6981AD.

Work with #6b6bab in the Color Lab