#78789F#78789F

#78789F is a mid, muted blue. Relative luminance 0.199; OKLCH L 58.7% C 0.059 H 284.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#78789F
RGBrgb(120, 120, 159)
HSLhsl(240, 17%, 55%)
HSVhsv(240, 25%, 62%)
CMYKcmyk(24.5%, 24.5%, 0%, 37.6%)
CIE-LABlab(51.76, 8.86, -20.89)
CIE-LCHlch(51.76, 22.70, 292.98°)
OKLaboklab(58.74% 0.0148 -0.0575)
OKLCHoklch(58.74% 0.059 284.4)
XYZxyz(20.7187, 19.9288, 35.5492)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78789F #9F9F78
analogous
#788C9F #78789F #8C789F
triadic
#78789F #9F7878 #789F78
tetradic
#78789F #9F788C #9F9F78 #789F8C
square
#78789F #9F788C #9F9F78 #789F8C
split-complementary
#78789F #9F8C78 #8C9F78
monochromatic
#41415C #5B5B7F #78789F #9C9CB8 #C0C0D2

Accessibility & contrast

On white

4.21
#78789F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#78789F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78789F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78789F#FFFFFF#000000##000000
##78789F1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7DA1
Deuteranopia (green-blind)
#6D7A9E
Tritanopia (blue-blind)
#6F7F85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #78789f;
/* rgb */ color: rgb(120, 120, 159);
/* oklch */ color: oklch(58.7% 0.059 284.4);
Tailwind
colors: {
  custom: {
    50: '#9f9ebb',
    500: '#78789f',
    950: '#000000',
  },
}
SCSS
$custom: #78789f;
$custom-light: #9f9ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#78789f",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 16.883,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58742,
    "c": 0.05934,
    "h": 284.4
  },
  "luminance": 0.19929
}

Semantic roles & 50–950 ramp

primary
#78789F
secondary
#C2C2B1
accent
#BA6EBA
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E12
muted
#7E7E81

Preview Lab

Preview with #78789F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#78789F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva