#787FD0#787FD0

#787FD0 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.6% C 0.122 H 278.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#787FD0
RGBrgb(120, 127, 208)
HSLhsl(235, 48%, 64%)
HSVhsv(235, 42%, 82%)
CMYKcmyk(42.3%, 38.9%, 0%, 18.4%)
CIE-LABlab(55.81, 18.00, -42.70)
CIE-LCHlch(55.81, 46.34, 292.86°)
OKLaboklab(62.59% 0.018 -0.1202)
OKLCHoklch(62.59% 0.122 278.5)
XYZxyz(26.7169, 23.7247, 62.8339)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FD0 #D0C978
analogous
#78ABD0 #787FD0 #9D78D0
triadic
#787FD0 #D0787F #7FD078
tetradic
#787FD0 #D078AB #D0C978 #78D09D
square
#787FD0 #D078AB #D0C978 #78D09D
split-complementary
#787FD0 #D09D78 #ABD078
monochromatic
#353D99 #4B54C0 #787FD0 #A5AAE0 #D3D5F0

Accessibility & contrast

On white

3.66
#787FD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#787FD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FD0
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FD0#FFFFFF#000000##000000
##787FD01.003.665.755.75
#FFFFFF3.661.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6289D3
Deuteranopia (green-blind)
#5C83CE
Tritanopia (blue-blind)
#5C8F9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #787fd0;
/* rgb */ color: rgb(120, 127, 208);
/* oklch */ color: oklch(62.6% 0.122 278.5);
Tailwind
colors: {
  custom: {
    50: '#a3a4df',
    500: '#787fd0',
    950: '#000000',
  },
}
SCSS
$custom: #787fd0;
$custom-light: #a3a4df;
$custom-dark: #000000;
JSON
{
  "hex": "#787fd0",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 208
  },
  "hsl": {
    "h": 235.227,
    "s": 48.352,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62586,
    "c": 0.12159,
    "h": 278.5
  },
  "luminance": 0.23726
}

Semantic roles & 50–950 ramp

primary
#787FD0
secondary
#E1DFC3
accent
#B02ABC
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #787FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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