#787CD3#787CD3

#787CD3 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.2% C 0.130 H 279.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#787CD3
RGBrgb(120, 124, 211)
HSLhsl(237, 51%, 65%)
HSVhsv(237, 43%, 83%)
CMYKcmyk(43.1%, 41.2%, 0%, 17.3%)
CIE-LABlab(55.19, 20.66, -45.38)
CIE-LCHlch(55.19, 49.86, 294.48°)
OKLaboklab(62.16% 0.0224 -0.1281)
OKLCHoklch(62.16% 0.13 279.9)
XYZxyz(26.7078, 23.1103, 64.6689)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CD3 #D3CF78
analogous
#78A9D3 #787CD3 #A278D3
triadic
#787CD3 #D3787C #7CD378
tetradic
#787CD3 #D378A9 #D3CF78 #78D3A2
square
#787CD3 #D378A9 #D3CF78 #78D3A2
split-complementary
#787CD3 #D3A278 #A9D378
monochromatic
#33389D #4A4FC4 #787CD3 #A6A9E2 #D4D6F1

Accessibility & contrast

On white

3.74
#787CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#787CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CD3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CD3#FFFFFF#000000##000000
##787CD31.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C88D6
Deuteranopia (green-blind)
#5681D1
Tritanopia (blue-blind)
#5B8E9D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #787cd3;
/* rgb */ color: rgb(120, 124, 211);
/* oklch */ color: oklch(62.2% 0.130 279.9);
Tailwind
colors: {
  custom: {
    50: '#a3a1e1',
    500: '#787cd3',
    950: '#000000',
  },
}
SCSS
$custom: #787cd3;
$custom-light: #a3a1e1;
$custom-dark: #000000;
JSON
{
  "hex": "#787cd3",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 237.363,
    "s": 50.838,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62158,
    "c": 0.13003,
    "h": 279.9
  },
  "luminance": 0.23112
}

Semantic roles & 50–950 ramp

primary
#787CD3
secondary
#E3E2C4
accent
#B827BE
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83

Preview Lab

Preview with #787CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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