#787CBF#787CBF

#787CBF is a mid, moderate blue. Relative luminance 0.222; OKLCH L 61.1% C 0.101 H 280.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#787CBF
RGBrgb(120, 124, 191)
HSLhsl(237, 36%, 61%)
HSVhsv(237, 37%, 75%)
CMYKcmyk(37.2%, 35.1%, 0%, 25.1%)
CIE-LABlab(54.21, 14.97, -35.56)
CIE-LCHlch(54.21, 38.58, 292.82°)
OKLaboklab(61.09% 0.0182 -0.0995)
OKLCHoklch(61.09% 0.101 280.3)
XYZxyz(24.3547, 22.1691, 52.2759)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CBF #BFBB78
analogous
#789FBF #787CBF #9778BF
triadic
#787CBF #BF787C #7CBF78
tetradic
#787CBF #BF789F #BFBB78 #78BF97
square
#787CBF #BF789F #BFBB78 #78BF97
split-complementary
#787CBF #BF9778 #9FBF78
monochromatic
#3D4080 #5055A9 #787CBF #A2A4D3 #CBCDE6

Accessibility & contrast

On white

3.86
#787CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#787CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CBF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CBF#FFFFFF#000000##000000
##787CBF1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6684C2
Deuteranopia (green-blind)
#637FBD
Tritanopia (blue-blind)
#648995
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #787cbf;
/* rgb */ color: rgb(120, 124, 191);
/* oklch */ color: oklch(61.1% 0.101 280.3);
Tailwind
colors: {
  custom: {
    50: '#a1a1d2',
    500: '#787cbf',
    950: '#000000',
  },
}
SCSS
$custom: #787cbf;
$custom-light: #a1a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#787cbf",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 191
  },
  "hsl": {
    "h": 236.62,
    "s": 35.678,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61086,
    "c": 0.10117,
    "h": 280.3
  },
  "luminance": 0.2217
}

Semantic roles & 50–950 ramp

primary
#787CBF
secondary
#D7D5BC
accent
#A837AF
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0F14
muted
#7F7E82

Preview Lab

Preview with #787CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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