#787FDA#787FDA

#787FDA is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.1% C 0.136 H 278.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#787FDA
RGBrgb(120, 127, 218)
HSLhsl(236, 57%, 66%)
HSVhsv(236, 45%, 85%)
CMYKcmyk(45%, 41.7%, 0%, 14.5%)
CIE-LABlab(56.32, 20.91, -47.53)
CIE-LCHlch(56.32, 51.93, 293.75°)
OKLaboklab(63.14% 0.0199 -0.1343)
OKLCHoklch(63.14% 0.136 278.4)
XYZxyz(27.9862, 24.2324, 69.5188)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FDA #DAD378
analogous
#78B0DA #787FDA #A278DA
triadic
#787FDA #DA787F #7FDA78
tetradic
#787FDA #DA78B0 #DAD378 #78DAA2
square
#787FDA #DA78B0 #DAD378 #78DAA2
split-complementary
#787FDA #DAA278 #B0DA78
monochromatic
#2E37A9 #4851CD #787FDA #A8ADE7 #D8DAF4

Accessibility & contrast

On white

3.59
#787FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#787FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FDA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FDA#FFFFFF#000000##000000
##787FDA1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8BDD
Deuteranopia (green-blind)
#5583D8
Tritanopia (blue-blind)
#5792A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #787fda;
/* rgb */ color: rgb(120, 127, 218);
/* oklch */ color: oklch(63.1% 0.136 278.4);
Tailwind
colors: {
  custom: {
    50: '#a4a4e6',
    500: '#787fda',
    950: '#000000',
  },
}
SCSS
$custom: #787fda;
$custom-light: #a4a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#787fda",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 235.714,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63141,
    "c": 0.13581,
    "h": 278.4
  },
  "luminance": 0.24234
}

Semantic roles & 50–950 ramp

primary
#787FDA
secondary
#E7E5C7
accent
#B921C5
background
#FAFAFE
surface
#F4F3FC
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #787FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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