#787BBD#787BBD

#787BBD is a mid, moderate blue. Relative luminance 0.218; OKLCH L 60.8% C 0.100 H 281.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#787BBD
RGBrgb(120, 123, 189)
HSLhsl(237, 34%, 61%)
HSVhsv(237, 37%, 74%)
CMYKcmyk(36.5%, 34.9%, 0%, 25.9%)
CIE-LABlab(53.85, 15.01, -34.98)
CIE-LCHlch(53.85, 38.06, 293.22°)
OKLaboklab(60.78% 0.019 -0.0978)
OKLCHoklch(60.78% 0.1 281)
XYZxyz(24.0114, 21.8323, 51.0832)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787BBD #BDBA78
analogous
#789DBD #787BBD #9778BD
triadic
#787BBD #BD787B #7BBD78
tetradic
#787BBD #BD789D #BDBA78 #78BD97
square
#787BBD #BD789D #BDBA78 #78BD97
split-complementary
#787BBD #BD9778 #9DBD78
monochromatic
#3D407D #5155A6 #787BBD #A1A3D1 #CACBE5

Accessibility & contrast

On white

3.91
#787BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#787BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787BBD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787BBD#FFFFFF#000000##000000
##787BBD1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683C0
Deuteranopia (green-blind)
#627EBB
Tritanopia (blue-blind)
#658893
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #787bbd;
/* rgb */ color: rgb(120, 123, 189);
/* oklch */ color: oklch(60.8% 0.100 281.0);
Tailwind
colors: {
  custom: {
    50: '#a1a1d1',
    500: '#787bbd',
    950: '#000000',
  },
}
SCSS
$custom: #787bbd;
$custom-light: #a1a1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#787bbd",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 237.391,
    "s": 34.328,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60781,
    "c": 0.09967,
    "h": 281
  },
  "luminance": 0.21833
}

Semantic roles & 50–950 ramp

primary
#787BBD
secondary
#D6D4BB
accent
#A838AD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #787BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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