#78799F#78799F

#78799F is a mid, muted blue. Relative luminance 0.202; OKLCH L 59.0% C 0.058 H 283.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#78799F
RGBrgb(120, 121, 159)
HSLhsl(238, 17%, 55%)
HSVhsv(238, 25%, 62%)
CMYKcmyk(24.5%, 23.9%, 0%, 37.6%)
CIE-LABlab(52.03, 8.27, -20.48)
CIE-LCHlch(52.03, 22.08, 291.99°)
OKLaboklab(58.95% 0.0133 -0.0563)
OKLCHoklch(58.95% 0.058 283.3)
XYZxyz(20.8395, 20.1706, 35.5895)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78799F #9F9E78
analogous
#788C9F #78799F #8B789F
triadic
#78799F #9F7879 #799F78
tetradic
#78799F #9F788C #9F9E78 #789F8B
square
#78799F #9F788C #9F9E78 #789F8B
split-complementary
#78799F #9F8B78 #8C9F78
monochromatic
#41425C #5B5B7F #78799F #9C9DB8 #C0C0D2

Accessibility & contrast

On white

4.17
#78799F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#78799F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78799F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78799F#FFFFFF#000000##000000
##78799F1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7DA1
Deuteranopia (green-blind)
#6E7B9E
Tritanopia (blue-blind)
#6F8086
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #78799f;
/* rgb */ color: rgb(120, 121, 159);
/* oklch */ color: oklch(59.0% 0.058 283.3);
Tailwind
colors: {
  custom: {
    50: '#9f9fbb',
    500: '#78799f',
    950: '#000000',
  },
}
SCSS
$custom: #78799f;
$custom-light: #9f9fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#78799f",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 238.462,
    "s": 16.883,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58953,
    "c": 0.05784,
    "h": 283.3
  },
  "luminance": 0.20171
}

Semantic roles & 50–950 ramp

primary
#78799F
secondary
#C2C1B1
accent
#B86EBA
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E12
muted
#7E7E81

Preview Lab

Preview with #78799F

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

Preview Lab → · Contrast checker → · Palette generator →

#78799F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva