#7B789F#7B789F

#7B789F is a mid, muted blue. Relative luminance 0.201; OKLCH L 59.0% C 0.059 H 288.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7B789F
RGBrgb(123, 120, 159)
HSLhsl(245, 17%, 55%)
HSVhsv(245, 25%, 62%)
CMYKcmyk(22.6%, 24.5%, 0%, 37.6%)
CIE-LABlab(52.00, 9.83, -20.50)
CIE-LCHlch(52.00, 22.73, 295.63°)
OKLaboklab(58.99% 0.0183 -0.0563)
OKLCHoklch(58.99% 0.059 288)
XYZxyz(21.1414, 20.1468, 35.5690)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B789F #9C9F78
analogous
#78899F #7B789F #8F789F
triadic
#7B789F #9F7B78 #789F7B
tetradic
#7B789F #9F7889 #9C9F78 #789F8F
square
#7B789F #9F7889 #9C9F78 #789F8F
split-complementary
#7B789F #9F8F78 #899F78
monochromatic
#43415C #5D5B7F #7B789F #9E9CB8 #C1C0D2

Accessibility & contrast

On white

4.18
#7B789F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7B789F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B789F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B789F#FFFFFF#000000##000000
##7B789F1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7DA1
Deuteranopia (green-blind)
#6E7B9E
Tritanopia (blue-blind)
#737F85
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b789f;
/* rgb */ color: rgb(123, 120, 159);
/* oklch */ color: oklch(59.0% 0.059 288.0);
Tailwind
colors: {
  custom: {
    50: '#a19fbb',
    500: '#7b789f',
    950: '#000000',
  },
}
SCSS
$custom: #7b789f;
$custom-light: #a19fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b789f",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 159
  },
  "hsl": {
    "h": 244.615,
    "s": 16.883,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58993,
    "c": 0.05918,
    "h": 288
  },
  "luminance": 0.20147
}

Semantic roles & 50–950 ramp

primary
#7B789F
secondary
#C0C2B1
accent
#BA6EB4
background
#FAF9FB
surface
#F3F2F6
border
#CDCCD0
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7B789F

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

Preview Lab → · Contrast checker → · Palette generator →

#7B789F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva