#787EDF#787EDF

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

Color values

HEX#787EDF
RGBrgb(120, 126, 223)
HSLhsl(237, 62%, 67%)
HSVhsv(237, 46%, 87%)
CMYKcmyk(46.2%, 43.5%, 0%, 12.5%)
CIE-LABlab(56.33, 22.99, -50.32)
CIE-LCHlch(56.33, 55.32, 294.55°)
OKLaboklab(63.23% 0.0219 -0.1425)
OKLCHoklch(63.23% 0.144 278.7)
XYZxyz(28.5218, 24.2410, 72.9738)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787EDF #DFD978
analogous
#78B2DF #787EDF #A678DF
triadic
#787EDF #DF787E #7EDF78
tetradic
#787EDF #DF78B2 #DFD978 #78DFA6
square
#787EDF #DF78B2 #DFD978 #78DFA6
split-complementary
#787EDF #DFA678 #B2DF78
monochromatic
#2A32B2 #474FD3 #787EDF #A9ADEB #DBDDF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##787EDF#FFFFFF#000000##000000
##787EDF1.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)
#588BE3
Deuteranopia (green-blind)
#5083DD
Tritanopia (blue-blind)
#5492A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #787edf;
/* rgb */ color: rgb(120, 126, 223);
/* oklch */ color: oklch(63.2% 0.144 278.7);
Tailwind
colors: {
  custom: {
    50: '#a4a3e9',
    500: '#787edf',
    950: '#000000',
  },
}
SCSS
$custom: #787edf;
$custom-light: #a4a3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#787edf",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 223
  },
  "hsl": {
    "h": 236.505,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63234,
    "c": 0.1442,
    "h": 278.7
  },
  "luminance": 0.24242
}

Semantic roles & 50–950 ramp

primary
#787EDF
secondary
#EAE8C9
accent
#BF1CC9
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #787EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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