#787DD7#787DD7

#787DD7 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.6% C 0.134 H 279.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#787DD7
RGBrgb(120, 125, 215)
HSLhsl(237, 54%, 66%)
HSVhsv(237, 44%, 84%)
CMYKcmyk(44.2%, 41.9%, 0%, 15.7%)
CIE-LABlab(55.65, 21.23, -46.90)
CIE-LCHlch(55.65, 51.48, 294.35°)
OKLaboklab(62.58% 0.0218 -0.1325)
OKLCHoklch(62.58% 0.134 279.4)
XYZxyz(27.3414, 23.5653, 67.3847)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DD7 #D7D278
analogous
#78ACD7 #787DD7 #A278D7
triadic
#787DD7 #D7787D #7DD778
tetradic
#787DD7 #D778AC #D7D278 #78D7A2
square
#787DD7 #D778AC #D7D278 #78D7A2
split-complementary
#787DD7 #D7A278 #ACD778
monochromatic
#3137A4 #4950C9 #787DD7 #A7AAE5 #D6D8F3

Accessibility & contrast

On white

3.68
#787DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#787DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DD7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DD7#FFFFFF#000000##000000
##787DD71.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B89DA
Deuteranopia (green-blind)
#5582D5
Tritanopia (blue-blind)
#588FA0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #787dd7;
/* rgb */ color: rgb(120, 125, 215);
/* oklch */ color: oklch(62.6% 0.134 279.4);
Tailwind
colors: {
  custom: {
    50: '#a3a2e4',
    500: '#787dd7',
    950: '#000000',
  },
}
SCSS
$custom: #787dd7;
$custom-light: #a3a2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#787dd7",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 215
  },
  "hsl": {
    "h": 236.842,
    "s": 54.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62579,
    "c": 0.13432,
    "h": 279.4
  },
  "luminance": 0.23567
}

Semantic roles & 50–950 ramp

primary
#787DD7
secondary
#E5E4C6
accent
#B924C2
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#0F0F15
muted
#7F7E84

Preview Lab

Preview with #787DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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