#787DCE#787DCE

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

Color values

HEX#787DCE
RGBrgb(120, 125, 206)
HSLhsl(237, 47%, 64%)
HSVhsv(237, 42%, 81%)
CMYKcmyk(41.7%, 39.3%, 0%, 19.2%)
CIE-LABlab(55.19, 18.62, -42.55)
CIE-LCHlch(55.19, 46.44, 293.63°)
OKLaboklab(62.08% 0.0202 -0.1198)
OKLCHoklch(62.08% 0.121 279.5)
XYZxyz(26.2166, 23.1154, 61.4609)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DCE #CEC978
analogous
#78A8CE #787DCE #9E78CE
triadic
#787DCE #CE787D #7DCE78
tetradic
#787DCE #CE78A8 #CEC978 #78CE9E
square
#787DCE #CE78A8 #CEC978 #78CE9E
split-complementary
#787DCE #CE9E78 #A8CE78
monochromatic
#363C95 #4B52BE #787DCE #A5A8DE #D2D3EF

Accessibility & contrast

On white

3.73
#787DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##787DCE#FFFFFF#000000##000000
##787DCE1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D1
Deuteranopia (green-blind)
#5B81CC
Tritanopia (blue-blind)
#5D8D9C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #787dce;
/* rgb */ color: rgb(120, 125, 206);
/* oklch */ color: oklch(62.1% 0.121 279.5);
Tailwind
colors: {
  custom: {
    50: '#a3a2dd',
    500: '#787dce',
    950: '#000000',
  },
}
SCSS
$custom: #787dce;
$custom-light: #a3a2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#787dce",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 236.512,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62079,
    "c": 0.12149,
    "h": 279.5
  },
  "luminance": 0.23117
}

Semantic roles & 50–950 ramp

primary
#787DCE
secondary
#E0DEC2
accent
#B22CBA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83

Preview Lab

Preview with #787DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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