#7D8FAC#7D8FAC

#7D8FAC is a light, muted blue. Relative luminance 0.270; OKLCH L 64.6% C 0.048 H 259.9°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7D8FAC
RGBrgb(125, 143, 172)
HSLhsl(217, 22%, 58%)
HSVhsv(217, 27%, 67%)
CMYKcmyk(27.3%, 16.9%, 0%, 32.5%)
CIE-LABlab(58.96, 0.33, -17.35)
CIE-LCHlch(58.96, 17.36, 271.08°)
OKLaboklab(64.62% -0.0085 -0.0475)
OKLCHoklch(64.62% 0.048 259.9)
XYZxyz(25.7242, 26.9826, 42.8745)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8FAC #AC9A7D
analogous
#7DA6AC #7D8FAC #827DAC
triadic
#7D8FAC #AC7D8F #8FAC7D
tetradic
#7D8FAC #AC7DA6 #AC9A7D #7DAC82
square
#7D8FAC #AC7DA6 #AC9A7D #7DAC82
split-complementary
#7D8FAC #AC827D #A6AC7D
monochromatic
#44536B #5C7090 #7D8FAC #A2AFC4 #C8CFDC

Accessibility & contrast

On white

3.28
#7D8FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#7D8FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8FAC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8FAC#FFFFFF#000000##000000
##7D8FAC1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d8fac;
/* rgb */ color: rgb(125, 143, 172);
/* oklch */ color: oklch(64.6% 0.048 259.9);
Tailwind
colors: {
  custom: {
    50: '#a3afc4',
    500: '#7d8fac',
    950: '#000000',
  },
}
SCSS
$custom: #7d8fac;
$custom-light: #a3afc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8fac",
  "rgb": {
    "r": 125,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 217.021,
    "s": 22.066,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64616,
    "c": 0.0483,
    "h": 259.9
  },
  "luminance": 0.26983
}

Semantic roles & 50–950 ramp

primary
#7D8FAC
secondary
#CCC5B9
accent
#9E69BF
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#0F1012
muted
#7F7F81

Preview Lab

Preview with #7D8FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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