#787BBF#787BBF

#787BBF is a mid, moderate blue. Relative luminance 0.219; OKLCH L 60.9% C 0.103 H 281.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#787BBF
RGBrgb(120, 123, 191)
HSLhsl(237, 36%, 61%)
HSVhsv(237, 37%, 75%)
CMYKcmyk(37.2%, 35.6%, 0%, 25.1%)
CIE-LABlab(53.94, 15.56, -35.98)
CIE-LCHlch(53.94, 39.20, 293.39°)
OKLaboklab(60.88% 0.0195 -0.1007)
OKLCHoklch(60.88% 0.103 281)
XYZxyz(24.2300, 21.9197, 52.2344)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787BBF #BFBC78
analogous
#789EBF #787BBF #9878BF
triadic
#787BBF #BF787B #7BBF78
tetradic
#787BBF #BF789E #BFBC78 #78BF98
square
#787BBF #BF789E #BFBC78 #78BF98
split-complementary
#787BBF #BF9878 #9EBF78
monochromatic
#3D3F80 #5054A9 #787BBF #A2A4D3 #CBCCE6

Accessibility & contrast

On white

3.90
#787BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#787BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787BBF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787BBF#FFFFFF#000000##000000
##787BBF1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6584C2
Deuteranopia (green-blind)
#617FBD
Tritanopia (blue-blind)
#648894
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #787bbf;
/* rgb */ color: rgb(120, 123, 191);
/* oklch */ color: oklch(60.9% 0.103 281.0);
Tailwind
colors: {
  custom: {
    50: '#a1a1d2',
    500: '#787bbf',
    950: '#000000',
  },
}
SCSS
$custom: #787bbf;
$custom-light: #a1a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#787bbf",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 191
  },
  "hsl": {
    "h": 237.465,
    "s": 35.678,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60883,
    "c": 0.1026,
    "h": 281
  },
  "luminance": 0.21921
}

Semantic roles & 50–950 ramp

primary
#787BBF
secondary
#D7D6BC
accent
#A937AF
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #787BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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