#7C799F#7C799F

#7C799F is a mid, muted blue. Relative luminance 0.205; OKLCH L 59.3% C 0.058 H 288.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7C799F
RGBrgb(124, 121, 159)
HSLhsl(245, 17%, 55%)
HSVhsv(245, 24%, 62%)
CMYKcmyk(22%, 23.9%, 0%, 37.6%)
CIE-LABlab(52.36, 9.57, -19.95)
CIE-LCHlch(52.36, 22.12, 295.63°)
OKLaboklab(59.29% 0.0179 -0.0547)
OKLCHoklch(59.29% 0.058 288.1)
XYZxyz(21.4061, 20.4627, 35.6161)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C799F #9C9F79
analogous
#79899F #7C799F #8F799F
triadic
#7C799F #9F7C79 #799F7C
tetradic
#7C799F #9F7989 #9C9F79 #799F8F
square
#7C799F #9F7989 #9C9F79 #799F8F
split-complementary
#7C799F #9F8F79 #899F79
monochromatic
#44425C #5E5B7F #7C799F #9F9DB9 #C2C0D2

Accessibility & contrast

On white

4.12
#7C799F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7C799F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C799F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C799F#FFFFFF#000000##000000
##7C799F1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#707EA1
Deuteranopia (green-blind)
#6F7C9E
Tritanopia (blue-blind)
#757F86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c799f;
/* rgb */ color: rgb(124, 121, 159);
/* oklch */ color: oklch(59.3% 0.058 288.1);
Tailwind
colors: {
  custom: {
    50: '#a29fbb',
    500: '#7c799f',
    950: '#000000',
  },
}
SCSS
$custom: #7c799f;
$custom-light: #a29fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c799f",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 244.737,
    "s": 16.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59288,
    "c": 0.0576,
    "h": 288.1
  },
  "luminance": 0.20463
}

Semantic roles & 50–950 ramp

primary
#7C799F
secondary
#C1C2B2
accent
#B96FB3
background
#FAF9FB
surface
#F3F2F6
border
#CDCCD0
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7C799F

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

Preview Lab → · Contrast checker → · Palette generator →

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