Skip to content

#767fd2

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

RGB
118, 127, 210
HSL
234°, 51%, 64%
CMYK
44, 40, 0, 18
Luminance
0.2368

At a glance

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

Hex
#767fd2
Hue
234°
blue
Saturation
51%
vivid
Lightness
64%
balanced
Brightness
82%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2368
WCAG relative
Temperature
Cool
87/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.74:1
Closest name
Medium Slate Blue
ΔE2000 8.7
Where it sits
Hue234° of 360°
Saturation51%
Lightness64%
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#767fd2
RGBrgb(118, 127, 210)
HSLhsl(234, 51%, 64%)
CMYKcmyk(44%, 40%, 0%, 18%)
LABlab(55.8 18.1 -43.9)
LCHlch(55.8 47.5 292.4)
OKLCHoklch(0.625 0.125 277.5)
Decimal7765970
Display P3color(display-p3 0.463 0.498 0.824)

Copy-ready code

/* CSS */
color: #767fd2;
background-color: #767fd2;
/* Tailwind (arbitrary) */
class="text-[#767fd2] bg-[#767fd2]"
/* SCSS */
$brand: #767fd2;
/* SwiftUI */
Color(red: 0.463, green: 0.498, blue: 0.824)
/* Android */
Color.parseColor("#767fd2")
/* Flutter */
Color(0xFF767FD2)
/* Python / OpenCV (BGR) */
(210, 127, 118)

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

Accessibility — WCAG contrast

Aa
#767fd2 on white: 3.66:1
AA ✗ fail · AA-large · AAA
Aa
#767fd2 on black: 5.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6189D5
deuteranopia · #5A82D0
tritanopia · #57909E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #767fd2 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
#ABB0E3
#767fd2
#5661C7
#3D49B8
#323D9A
#28307B
#21265A
#141838
Base = 400Lightest = 50 · #F4F5FADarkest = 950 · #141838
:root {
  --brand-50: #F4F5FA;
  --brand-100: #EAEBF6;
  --brand-200: #CFD2ED;
  --brand-300: #ABB0E3;
  --brand-400: #767fd2;
  --brand-500: #5661C7;
  --brand-600: #3D49B8;
  --brand-700: #323D9A;
  --brand-800: #28307B;
  --brand-900: #21265A;
  --brand-950: #141838;
  --brand: #767fd2;
  --brand-ink: #000000;
}

Colors that work with #767fd2

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#C2C6EB
Hairlines and dividers
Muted text#4B529B
Captions on the surface
Accent#9E772E
Second voice, not a rival
Dark variant#202660
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 #767fd2

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#D2C976
Analogous left#76ADD2
Analogous right#9B76D2
Split-complement 1#D29B76
Split-complement 2#ADD276
Triadic 1#D2767F
Triadic 2#7FD276
Tetradic#D276AD

RGB percentages

Red46.3%
Green49.8%
Blue82.4%

CMYK percentages

Cyan43.8%
Magenta39.5%
Yellow0.0%
Key (black)17.6%

Color previews

#767fd2 text on a black background

contrast 5.74:1

Card sample

#767fd2 text on a white background

contrast 3.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(118, 127, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(118, 127, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #767fd2;
background: linear-gradient(135deg, #767fd2, #AA76D2);

Monochromatic scale

Palettes built from #767fd2

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.

#767fd2 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.

#767fd2, answered

What color is #767fd2?

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

What is the RGB value of #767fd2?

rgb(118, 127, 210) — 118 red, 127 green and 210 blue out of 255, or 46.3% / 49.8% / 82.4% by channel.

Is #767fd2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2368 and perceived brightness is 54%, so black text on it reaches 5.74:1.

Should I use black or white text on #767fd2?

Black. It scores 5.74:1 against #767fd2, versus 3.66:1 for white — AA at any size.

What is the complementary color of #767fd2?

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

What colors go well with #767fd2?

For interface work: #F4F5FA as the surface, #C2C6EB for borders, #4B529B for secondary text, #9E772E as an accent and #202660 for hover and pressed states. For a palette, the analogous pair #76ADD2 and #9B76D2 stays calm, while #D2C976 is the loudest partner.

What is #767fd2 in CMYK for printing?

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

Is #767fd2 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 #8F76D2; nudged cooler, #7496D4.

Work with #767fd2 in the Color Lab