#787FA0#787FA0

#787FA0 is a mid, muted blue. Relative luminance 0.217; OKLCH L 60.3% C 0.051 H 275.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#787FA0
RGBrgb(120, 127, 160)
HSLhsl(230, 17%, 55%)
HSVhsv(230, 25%, 63%)
CMYKcmyk(25%, 20.6%, 0%, 37.3%)
CIE-LABlab(53.72, 4.99, -18.48)
CIE-LCHlch(53.72, 19.14, 285.11°)
OKLaboklab(60.28% 0.0048 -0.0507)
OKLCHoklch(60.28% 0.051 275.4)
XYZxyz(21.6786, 21.7094, 36.2990)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FA0 #A09978
analogous
#7893A0 #787FA0 #8578A0
triadic
#787FA0 #A0787F #7FA078
tetradic
#787FA0 #A07893 #A09978 #78A085
square
#787FA0 #A07893 #A09978 #78A085
split-complementary
#787FA0 #A08578 #93A078
monochromatic
#41465D #5A6180 #787FA0 #9CA1B9 #C0C3D3

Accessibility & contrast

On white

3.93
#787FA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#787FA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FA0
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FA0#FFFFFF#000000##000000
##787FA01.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7682A2
Deuteranopia (green-blind)
#737F9F
Tritanopia (blue-blind)
#6E858A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #787fa0;
/* rgb */ color: rgb(120, 127, 160);
/* oklch */ color: oklch(60.3% 0.051 275.4);
Tailwind
colors: {
  custom: {
    50: '#9fa4bc',
    500: '#787fa0',
    950: '#000000',
  },
}
SCSS
$custom: #787fa0;
$custom-light: #9fa4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#787fa0",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 160
  },
  "hsl": {
    "h": 229.5,
    "s": 17.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60279,
    "c": 0.05091,
    "h": 275.4
  },
  "luminance": 0.2171
}

Semantic roles & 50–950 ramp

primary
#787FA0
secondary
#C2BFB1
accent
#AD6EBA
background
#F9FAFB
surface
#F2F3F6
border
#CCCDD0
text
#0E0F12
muted
#7E7F81

Preview Lab

Preview with #787FA0

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

Preview Lab → · Contrast checker → · Palette generator →

#787FA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva