#787AA7#787AA7

#787AA7 is a mid, moderate blue. Relative luminance 0.207; OKLCH L 59.5% C 0.068 H 282.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#787AA7
RGBrgb(120, 122, 167)
HSLhsl(237, 21%, 56%)
HSVhsv(237, 28%, 65%)
CMYKcmyk(28.1%, 26.9%, 0%, 34.5%)
CIE-LABlab(52.62, 9.71, -24.21)
CIE-LCHlch(52.62, 26.09, 291.85°)
OKLaboklab(59.52% 0.0144 -0.0669)
OKLCHoklch(59.52% 0.068 282.1)
XYZxyz(21.6785, 20.7016, 39.4054)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787AA7 #A7A578
analogous
#7892A7 #787AA7 #8E78A7
triadic
#787AA7 #A7787A #7AA778
tetradic
#787AA7 #A77892 #A7A578 #78A78E
square
#787AA7 #A77892 #A7A578 #78A78E
split-complementary
#787AA7 #A78E78 #92A778
monochromatic
#414264 #595B89 #787AA7 #9D9FBF #C2C3D7

Accessibility & contrast

On white

4.09
#787AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#787AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787AA7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787AA7#FFFFFF#000000##000000
##787AA71.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7FA9
Deuteranopia (green-blind)
#6B7CA6
Tritanopia (blue-blind)
#6D828A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #787aa7;
/* rgb */ color: rgb(120, 122, 167);
/* oklch */ color: oklch(59.5% 0.068 282.1);
Tailwind
colors: {
  custom: {
    50: '#a0a0c1',
    500: '#787aa7',
    950: '#000000',
  },
}
SCSS
$custom: #787aa7;
$custom-light: #a0a0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#787aa7",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 167
  },
  "hsl": {
    "h": 237.447,
    "s": 21.076,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59518,
    "c": 0.06844,
    "h": 282.1
  },
  "luminance": 0.20702
}

Semantic roles & 50–950 ramp

primary
#787AA7
secondary
#C7C6B4
accent
#BA6ABE
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0F0E12
muted
#7E7E81

Preview Lab

Preview with #787AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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