#787DC0#787DC0

#787DC0 is a mid, moderate blue. Relative luminance 0.225; OKLCH L 61.3% C 0.101 H 279.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#787DC0
RGBrgb(120, 125, 192)
HSLhsl(236, 36%, 61%)
HSVhsv(236, 38%, 75%)
CMYKcmyk(37.5%, 34.9%, 0%, 24.7%)
CIE-LABlab(54.52, 14.65, -35.65)
CIE-LCHlch(54.52, 38.54, 292.34°)
OKLaboklab(61.34% 0.0171 -0.0998)
OKLCHoklch(61.34% 0.101 279.7)
XYZxyz(24.5910, 22.4651, 52.8995)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DC0 #C0BB78
analogous
#78A1C0 #787DC0 #9778C0
triadic
#787DC0 #C0787D #7DC078
tetradic
#787DC0 #C078A1 #C0BB78 #78C097
square
#787DC0 #C078A1 #C0BB78 #78C097
split-complementary
#787DC0 #C09778 #A1C078
monochromatic
#3C4181 #5056AB #787DC0 #A2A5D3 #CBCDE7

Accessibility & contrast

On white

3.82
#787DC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#787DC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DC0
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DC0#FFFFFF#000000##000000
##787DC01.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6785C3
Deuteranopia (green-blind)
#6380BE
Tritanopia (blue-blind)
#638A96
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #787dc0;
/* rgb */ color: rgb(120, 125, 192);
/* oklch */ color: oklch(61.3% 0.101 279.7);
Tailwind
colors: {
  custom: {
    50: '#a1a2d3',
    500: '#787dc0',
    950: '#000000',
  },
}
SCSS
$custom: #787dc0;
$custom-light: #a1a2d3;
$custom-dark: #000000;
JSON
{
  "hex": "#787dc0",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 192
  },
  "hsl": {
    "h": 235.833,
    "s": 36.364,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61341,
    "c": 0.10122,
    "h": 279.7
  },
  "luminance": 0.22466
}

Semantic roles & 50–950 ramp

primary
#787DC0
secondary
#D7D6BC
accent
#A736AF
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0F14
muted
#7F7E83

Preview Lab

Preview with #787DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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