#787CA3#787CA3

#787CA3 is a mid, muted blue. Relative luminance 0.211; OKLCH L 59.8% C 0.060 H 279.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#787CA3
RGBrgb(120, 124, 163)
HSLhsl(234, 19%, 55%)
HSVhsv(234, 26%, 64%)
CMYKcmyk(26.4%, 23.9%, 0%, 36.1%)
CIE-LABlab(53.01, 7.50, -21.30)
CIE-LCHlch(53.01, 22.59, 289.41°)
OKLaboklab(59.76% 0.0102 -0.0586)
OKLCHoklch(59.76% 0.06 279.9)
XYZxyz(21.5625, 21.0522, 37.5707)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CA3 #A39F78
analogous
#7891A3 #787CA3 #8978A3
triadic
#787CA3 #A3787C #7CA378
tetradic
#787CA3 #A37891 #A39F78 #78A389
square
#787CA3 #A37891 #A39F78 #78A389
split-complementary
#787CA3 #A38978 #91A378
monochromatic
#414460 #5A5E84 #787CA3 #9C9FBC #C1C3D5

Accessibility & contrast

On white

4.03
#787CA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#787CA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CA3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CA3#FFFFFF#000000##000000
##787CA31.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7180A5
Deuteranopia (green-blind)
#6F7DA2
Tritanopia (blue-blind)
#6E8389
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #787ca3;
/* rgb */ color: rgb(120, 124, 163);
/* oklch */ color: oklch(59.8% 0.060 279.9);
Tailwind
colors: {
  custom: {
    50: '#a0a1be',
    500: '#787ca3',
    950: '#000000',
  },
}
SCSS
$custom: #787ca3;
$custom-light: #a0a1be;
$custom-dark: #000000;
JSON
{
  "hex": "#787ca3",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 163
  },
  "hsl": {
    "h": 234.419,
    "s": 18.943,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59764,
    "c": 0.05953,
    "h": 279.9
  },
  "luminance": 0.21053
}

Semantic roles & 50–950 ramp

primary
#787CA3
secondary
#C4C3B2
accent
#B46CBC
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0F12
muted
#7E7E81

Preview Lab

Preview with #787CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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