#7B8FAC#7B8FAC

#7B8FAC is a light, muted blue. Relative luminance 0.268; OKLCH L 64.5% C 0.049 H 257.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7B8FAC
RGBrgb(123, 143, 172)
HSLhsl(216, 23%, 58%)
HSVhsv(216, 28%, 67%)
CMYKcmyk(28.5%, 16.9%, 0%, 32.5%)
CIE-LABlab(58.82, -0.29, -17.58)
CIE-LCHlch(58.82, 17.58, 269.05°)
OKLaboklab(64.47% -0.0106 -0.0482)
OKLCHoklch(64.47% 0.049 257.6)
XYZxyz(25.4351, 26.8335, 42.8610)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8FAC #AC987B
analogous
#7BA8AC #7B8FAC #7F7BAC
triadic
#7B8FAC #AC7B8F #8FAC7B
tetradic
#7B8FAC #AC7BA8 #AC987B #7BAC7F
square
#7B8FAC #AC7BA8 #AC987B #7BAC7F
split-complementary
#7B8FAC #AC7F7B #A8AC7B
monochromatic
#43536A #5A7090 #7B8FAC #A1AFC4 #C6CFDB

Accessibility & contrast

On white

3.30
#7B8FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#7B8FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8FAC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8FAC#FFFFFF#000000##000000
##7B8FAC1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8590AD
Deuteranopia (green-blind)
#808BAB
Tritanopia (blue-blind)
#6D9598
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b8fac;
/* rgb */ color: rgb(123, 143, 172);
/* oklch */ color: oklch(64.5% 0.049 257.6);
Tailwind
colors: {
  custom: {
    50: '#a2afc4',
    500: '#7b8fac',
    950: '#000000',
  },
}
SCSS
$custom: #7b8fac;
$custom-light: #a2afc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8fac",
  "rgb": {
    "r": 123,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 215.51,
    "s": 22.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64472,
    "c": 0.04935,
    "h": 257.6
  },
  "luminance": 0.26834
}

Semantic roles & 50–950 ramp

primary
#7B8FAC
secondary
#CBC3B8
accent
#9C69BF
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1012
muted
#7F7F81

Preview Lab

Preview with #7B8FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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