#787397#787397

#787397 is a mid, muted blue. Relative luminance 0.185; OKLCH L 57.3% C 0.055 H 290.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#787397
RGBrgb(120, 115, 151)
HSLhsl(248, 15%, 52%)
HSVhsv(248, 24%, 59%)
CMYKcmyk(20.5%, 23.8%, 0%, 40.8%)
CIE-LABlab(50.08, 9.86, -18.78)
CIE-LCHlch(50.08, 21.21, 297.69°)
OKLaboklab(57.34% 0.0197 -0.0515)
OKLCHoklch(57.34% 0.055 290.9)
XYZxyz(19.4611, 18.4887, 31.8155)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787397 #929773
analogous
#738097 #787397 #8A7397
triadic
#787397 #977873 #739778
tetradic
#787397 #977380 #929773 #73978A
square
#787397 #977380 #929773 #73978A
split-complementary
#787397 #978A73 #809773
monochromatic
#403D52 #5B5776 #787397 #9A96B1 #BCB9CB

Accessibility & contrast

On white

4.47
#787397 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#787397 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787397
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787397#FFFFFF#000000##000000
##7873971.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7899
Deuteranopia (green-blind)
#6B7696
Tritanopia (blue-blind)
#72797F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #787397;
/* rgb */ color: rgb(120, 115, 151);
/* oklch */ color: oklch(57.3% 0.055 290.9);
Tailwind
colors: {
  custom: {
    50: '#9f9bb5',
    500: '#787397',
    950: '#000000',
  },
}
SCSS
$custom: #787397;
$custom-light: #9f9bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#787397",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 151
  },
  "hsl": {
    "h": 248.333,
    "s": 14.754,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57341,
    "c": 0.0551,
    "h": 290.9
  },
  "luminance": 0.18489
}

Semantic roles & 50–950 ramp

primary
#787397
secondary
#B9BBAB
accent
#B870AE
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #787397

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

Preview Lab → · Contrast checker → · Palette generator →

#787397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva