#7C8AAF#7C8AAF

#7C8AAF is a light, muted blue. Relative luminance 0.256; OKLCH L 63.6% C 0.058 H 268.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7C8AAF
RGBrgb(124, 138, 175)
HSLhsl(224, 24%, 59%)
HSVhsv(224, 29%, 69%)
CMYKcmyk(29.1%, 21.1%, 0%, 31.4%)
CIE-LABlab(57.61, 3.64, -21.12)
CIE-LCHlch(57.61, 21.43, 279.78°)
OKLaboklab(63.58% -0.0014 -0.0581)
OKLCHoklch(63.58% 0.058 268.6)
XYZxyz(25.1364, 25.5564, 44.1576)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8AAF #AFA17C
analogous
#7CA3AF #7C8AAF #877CAF
triadic
#7C8AAF #AF7C8A #8AAF7C
tetradic
#7C8AAF #AF7CA3 #AFA17C #7CAF87
square
#7C8AAF #AF7CA3 #AFA17C #7CAF87
split-complementary
#7C8AAF #AF877C #A3AF7C
monochromatic
#434F6E #5A6A94 #7C8AAF #A2ACC6 #C8CEDD

Accessibility & contrast

On white

3.44
#7C8AAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#7C8AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8AAF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8AAF#FFFFFF#000000##000000
##7C8AAF1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8DB1
Deuteranopia (green-blind)
#7A88AE
Tritanopia (blue-blind)
#6E9196
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c8aaf;
/* rgb */ color: rgb(124, 138, 175);
/* oklch */ color: oklch(63.6% 0.058 268.6);
Tailwind
colors: {
  custom: {
    50: '#a3acc7',
    500: '#7c8aaf',
    950: '#000000',
  },
}
SCSS
$custom: #7c8aaf;
$custom-light: #a3acc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8aaf",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 175
  },
  "hsl": {
    "h": 223.529,
    "s": 24.171,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63582,
    "c": 0.05815,
    "h": 268.6
  },
  "luminance": 0.25557
}

Semantic roles & 50–950 ramp

primary
#7C8AAF
secondary
#CDC8B9
accent
#A867C1
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #7C8AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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