#7C8AAA#7C8AAA

#7C8AAA is a light, muted blue. Relative luminance 0.254; OKLCH L 63.4% C 0.051 H 266.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7C8AAA
RGBrgb(124, 138, 170)
HSLhsl(222, 21%, 58%)
HSVhsv(222, 27%, 67%)
CMYKcmyk(27.1%, 18.8%, 0%, 33.3%)
CIE-LABlab(57.43, 2.38, -18.55)
CIE-LCHlch(57.43, 18.70, 277.30°)
OKLaboklab(63.38% -0.0032 -0.0509)
OKLCHoklch(63.38% 0.051 266.4)
XYZxyz(24.6544, 25.3636, 41.6191)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8AAA #AA9C7C
analogous
#7CA1AA #7C8AAA #857CAA
triadic
#7C8AAA #AA7C8A #8AAA7C
tetradic
#7C8AAA #AA7CA1 #AA9C7C #7CAA85
square
#7C8AAA #AA7CA1 #AA9C7C #7CAA85
split-complementary
#7C8AAA #AA857C #A1AA7C
monochromatic
#444F68 #5C6B8D #7C8AAA #A1ABC2 #C6CCDA

Accessibility & contrast

On white

3.46
#7C8AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#7C8AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8AAA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8AAA#FFFFFF#000000##000000
##7C8AAA1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#808CAB
Deuteranopia (green-blind)
#7C88A9
Tritanopia (blue-blind)
#709095
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c8aaa;
/* rgb */ color: rgb(124, 138, 170);
/* oklch */ color: oklch(63.4% 0.051 266.4);
Tailwind
colors: {
  custom: {
    50: '#a2acc3',
    500: '#7c8aaa',
    950: '#000000',
  },
}
SCSS
$custom: #7c8aaa;
$custom-light: #a2acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8aaa",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 221.739,
    "s": 21.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63375,
    "c": 0.05098,
    "h": 266.4
  },
  "luminance": 0.25364
}

Semantic roles & 50–950 ramp

primary
#7C8AAA
secondary
#CAC5B8
accent
#A46ABE
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#0F1012
muted
#7F7F81

Preview Lab

Preview with #7C8AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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