#7B799F#7B799F

#7B799F is a mid, muted blue. Relative luminance 0.204; OKLCH L 59.2% C 0.058 H 286.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7B799F
RGBrgb(123, 121, 159)
HSLhsl(243, 17%, 55%)
HSVhsv(243, 24%, 62%)
CMYKcmyk(22.6%, 23.9%, 0%, 37.6%)
CIE-LABlab(52.27, 9.24, -20.08)
CIE-LCHlch(52.27, 22.11, 294.71°)
OKLaboklab(59.2% 0.0168 -0.0551)
OKLCHoklch(59.2% 0.058 286.9)
XYZxyz(21.2623, 20.3886, 35.6093)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B799F #9D9F79
analogous
#798A9F #7B799F #8E799F
triadic
#7B799F #9F7B79 #799F7B
tetradic
#7B799F #9F798A #9D9F79 #799F8E
square
#7B799F #9F798A #9D9F79 #799F8E
split-complementary
#7B799F #9F8E79 #8A9F79
monochromatic
#43425C #5D5B7F #7B799F #9E9DB9 #C1C0D2

Accessibility & contrast

On white

4.14
#7B799F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#7B799F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B799F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B799F#FFFFFF#000000##000000
##7B799F1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7EA1
Deuteranopia (green-blind)
#6F7C9E
Tritanopia (blue-blind)
#737F86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b799f;
/* rgb */ color: rgb(123, 121, 159);
/* oklch */ color: oklch(59.2% 0.058 286.9);
Tailwind
colors: {
  custom: {
    50: '#a19fbb',
    500: '#7b799f',
    950: '#000000',
  },
}
SCSS
$custom: #7b799f;
$custom-light: #a19fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b799f",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 243.158,
    "s": 16.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59203,
    "c": 0.05762,
    "h": 286.9
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

primary
#7B799F
secondary
#C1C2B2
accent
#B96FB5
background
#FAF9FB
surface
#F3F2F6
border
#CDCCD0
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7B799F

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

Preview Lab → · Contrast checker → · Palette generator →

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