Skip to content

#6c76cf

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

RGB
108, 118, 207
HSL
234°, 51%, 62%
CMYK
48, 43, 0, 19
Luminance
0.2065

At a glance

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

Hex
#6c76cf
Hue
234°
blue
Saturation
51%
vivid
Lightness
62%
balanced
Brightness
81%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2065
WCAG relative
Temperature
Cool
87/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.13:1
Closest name
Medium Slate Blue
ΔE2000 7.3
Where it sits
Hue234° of 360°
Saturation51%
Lightness62%
Temperature
Warm ← → Cool87% 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#6c76cf
RGBrgb(108, 118, 207)
HSLhsl(234, 51%, 62%)
CMYKcmyk(48%, 43%, 0%, 19%)
LABlab(52.6 20.2 -47.3)
LCHlch(52.6 51.4 293.1)
OKLCHoklch(0.599 0.135 276.7)
Decimal7108303
Display P3color(display-p3 0.424 0.463 0.812)

Copy-ready code

/* CSS */
color: #6c76cf;
background-color: #6c76cf;
/* Tailwind (arbitrary) */
class="text-[#6c76cf] bg-[#6c76cf]"
/* SCSS */
$brand: #6c76cf;
/* SwiftUI */
Color(red: 0.424, green: 0.463, blue: 0.812)
/* Android */
Color.parseColor("#6c76cf")
/* Flutter */
Color(0xFF6C76CF)
/* Python / OpenCV (BGR) */
(207, 118, 108)

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

Accessibility — WCAG contrast

Aa
#6c76cf on white: 4.09:1
AA ✗ fail · AA-large · AAA
Aa
#6c76cf on black: 5.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5382D2
deuteranopia · #4A7ACD
tritanopia · #478998

Color scale — 50 to 950

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

#F4F5FA
#EAEBF6
#CFD2ED
#AAB0E3
#6c76cf
#5661C8
#3C49B9
#323D9A
#28317B
#21265A
#141838
Base = 400Lightest = 50 · #F4F5FADarkest = 950 · #141838
:root {
  --brand-50: #F4F5FA;
  --brand-100: #EAEBF6;
  --brand-200: #CFD2ED;
  --brand-300: #AAB0E3;
  --brand-400: #6c76cf;
  --brand-500: #5661C8;
  --brand-600: #3C49B9;
  --brand-700: #323D9A;
  --brand-800: #28317B;
  --brand-900: #21265A;
  --brand-950: #141838;
  --brand: #6c76cf;
  --brand-ink: #000000;
}

Colors that work with #6c76cf

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F5FA
Tinted page background
Border#C1C6EB
Hairlines and dividers
Muted text#4B539B
Captions on the surface
Accent#9E762E
Second voice, not a rival
Dark variant#1F2660
Hover, pressed, headers
Light variant#ECEDF9
Selected rows, tints
Dark surface#141524
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 #6c76cf

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#CFC56C
Analogous left#6CA8CF
Analogous right#946CCF
Split-complement 1#CF946C
Split-complement 2#A8CF6C
Triadic 1#CF6C76
Triadic 2#76CF6C
Tetradic#CF6CA8

RGB percentages

Red42.4%
Green46.3%
Blue81.2%

CMYK percentages

Cyan47.8%
Magenta43.0%
Yellow0.0%
Key (black)18.8%

Color previews

#6c76cf text on a black background

contrast 5.13:1

Card sample

#6c76cf text on a white background

contrast 4.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(108, 118, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 118, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c76cf;
background: linear-gradient(135deg, #6c76cf, #A46CCF);

Monochromatic scale

Palettes built from #6c76cf

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.

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

#6c76cf, answered

What color is #6c76cf?

#6c76cf is a balanced vivid blue, closest to Medium Slate Blue (ΔE2000 7.3). It sits at 234° on the hue wheel with 51% saturation and 62% lightness, which reads as cool.

What is the RGB value of #6c76cf?

rgb(108, 118, 207) — 108 red, 118 green and 207 blue out of 255, or 42.4% / 46.3% / 81.2% by channel.

Is #6c76cf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2065 and perceived brightness is 50%, so black text on it reaches 5.13:1.

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

Black. It scores 5.13:1 against #6c76cf, versus 4.09:1 for white — AA at any size.

What is the complementary color of #6c76cf?

#CFC56C sits directly opposite on the wheel. Softer options are the split-complements #CF946C and #A8CF6C, which give the same contrast with far less vibration.

What colors go well with #6c76cf?

For interface work: #F4F5FA as the surface, #C1C6EB for borders, #4B539B for secondary text, #9E762E as an accent and #1F2660 for hover and pressed states. For a palette, the analogous pair #6CA8CF and #946CCF stays calm, while #CFC56C is the loudest partner.

What is #6c76cf in CMYK for printing?

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

Is #6c76cf warm or cool?

Cool — it scores 87 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #866CCF; nudged cooler, #6A8ED1.

Work with #6c76cf in the Color Lab