#7C8FAC#7C8FAC

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

Color values

HEX#7C8FAC
RGBrgb(124, 143, 172)
HSLhsl(216, 22%, 58%)
HSVhsv(216, 28%, 67%)
CMYKcmyk(27.9%, 16.9%, 0%, 32.5%)
CIE-LABlab(58.89, 0.02, -17.47)
CIE-LCHlch(58.89, 17.47, 270.05°)
OKLaboklab(64.54% -0.0095 -0.0479)
OKLCHoklch(64.54% 0.049 258.7)
XYZxyz(25.5789, 26.9077, 42.8677)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FAC #AC997C
analogous
#7CA7AC #7C8FAC #817CAC
triadic
#7C8FAC #AC7C8F #8FAC7C
tetradic
#7C8FAC #AC7CA7 #AC997C #7CAC81
square
#7C8FAC #AC7CA7 #AC997C #7CAC81
split-complementary
#7C8FAC #AC817C #A7AC7C
monochromatic
#43536A #5B7090 #7C8FAC #A1AFC4 #C7CFDB

Accessibility & contrast

On white

3.29
#7C8FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#7C8FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8FAC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FAC#FFFFFF#000000##000000
##7C8FAC1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8590AD
Deuteranopia (green-blind)
#808CAB
Tritanopia (blue-blind)
#6F9598
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7c8fac;
/* rgb */ color: rgb(124, 143, 172);
/* oklch */ color: oklch(64.5% 0.049 258.7);
Tailwind
colors: {
  custom: {
    50: '#a3afc4',
    500: '#7c8fac',
    950: '#000000',
  },
}
SCSS
$custom: #7c8fac;
$custom-light: #a3afc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8fac",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 216.25,
    "s": 22.43,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64543,
    "c": 0.04882,
    "h": 258.7
  },
  "luminance": 0.26909
}

Semantic roles & 50–950 ramp

primary
#7C8FAC
secondary
#CBC4B8
accent
#9D69BF
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#0F1012
muted
#7F7F81

Preview Lab

Preview with #7C8FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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