#7E8FAC#7E8FAC

#7E8FAC is a light, muted blue. Relative luminance 0.271; OKLCH L 64.7% C 0.048 H 261.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7E8FAC
RGBrgb(126, 143, 172)
HSLhsl(218, 22%, 58%)
HSVhsv(218, 27%, 67%)
CMYKcmyk(26.7%, 16.9%, 0%, 32.5%)
CIE-LABlab(59.03, 0.64, -17.24)
CIE-LCHlch(59.03, 17.25, 272.12°)
OKLaboklab(64.69% -0.0074 -0.0472)
OKLCHoklch(64.69% 0.048 261.1)
XYZxyz(25.8710, 27.0583, 42.8814)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8FAC #AC9B7E
analogous
#7EA6AC #7E8FAC #847EAC
triadic
#7E8FAC #AC7E8F #8FAC7E
tetradic
#7E8FAC #AC7EA6 #AC9B7E #7EAC84
square
#7E8FAC #AC7EA6 #AC9B7E #7EAC84
split-complementary
#7E8FAC #AC847E #A6AC7E
monochromatic
#45536B #5D7090 #7E8FAC #A3AFC4 #C8D0DC

Accessibility & contrast

On white

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

On black

6.41
#7E8FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8FAC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8FAC#FFFFFF#000000##000000
##7E8FAC1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e8fac;
/* rgb */ color: rgb(126, 143, 172);
/* oklch */ color: oklch(64.7% 0.048 261.1);
Tailwind
colors: {
  custom: {
    50: '#a4afc4',
    500: '#7e8fac',
    950: '#000000',
  },
}
SCSS
$custom: #7e8fac;
$custom-light: #a4afc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8fac",
  "rgb": {
    "r": 126,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 217.826,
    "s": 21.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64688,
    "c": 0.0478,
    "h": 261.1
  },
  "luminance": 0.27059
}

Semantic roles & 50–950 ramp

primary
#7E8FAC
secondary
#CCC5BA
accent
#9F6ABE
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#0F1012
muted
#7F7F81

Preview Lab

Preview with #7E8FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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