#7B819A#7B819A

#7B819A is a mid, muted blue. Relative luminance 0.222; OKLCH L 60.7% C 0.039 H 274.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7B819A
RGBrgb(123, 129, 154)
HSLhsl(228, 13%, 54%)
HSVhsv(228, 20%, 60%)
CMYKcmyk(20.1%, 16.2%, 0%, 39.6%)
CIE-LABlab(54.28, 3.34, -14.12)
CIE-LCHlch(54.28, 14.51, 283.32°)
OKLaboklab(60.71% 0.0031 -0.0384)
OKLCHoklch(60.71% 0.039 274.6)
XYZxyz(21.8499, 22.2441, 33.7080)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B819A #9A947B
analogous
#7B919A #7B819A #857B9A
triadic
#7B819A #9A7B81 #819A7B
tetradic
#7B819A #9A7B91 #9A947B #7B9A85
square
#7B819A #9A7B91 #9A947B #7B9A85
split-complementary
#7B819A #9A857B #919A7B
monochromatic
#434758 #5E637A #7B819A #9EA2B5 #C0C3CF

Accessibility & contrast

On white

3.85
#7B819A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7B819A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B819A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B819A#FFFFFF#000000##000000
##7B819A1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A839B
Deuteranopia (green-blind)
#788199
Tritanopia (blue-blind)
#748689
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b819a;
/* rgb */ color: rgb(123, 129, 154);
/* oklch */ color: oklch(60.7% 0.039 274.6);
Tailwind
colors: {
  custom: {
    50: '#a1a5b7',
    500: '#7b819a',
    950: '#000000',
  },
}
SCSS
$custom: #7b819a;
$custom-light: #a1a5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b819a",
  "rgb": {
    "r": 123,
    "g": 129,
    "b": 154
  },
  "hsl": {
    "h": 228.387,
    "s": 13.305,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60709,
    "c": 0.03857,
    "h": 274.6
  },
  "luminance": 0.22245
}

Semantic roles & 50–950 ramp

primary
#7B819A
secondary
#BFBCB2
accent
#A972B6
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0F0F11
muted
#7E7F80

Preview Lab

Preview with #7B819A

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

Preview Lab → · Contrast checker → · Palette generator →

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