#787DD9#787DD9

#787DD9 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.7% C 0.137 H 279.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#787DD9
RGBrgb(120, 125, 217)
HSLhsl(237, 56%, 66%)
HSVhsv(237, 45%, 85%)
CMYKcmyk(44.7%, 42.4%, 0%, 14.9%)
CIE-LABlab(55.75, 21.81, -47.86)
CIE-LCHlch(55.75, 52.60, 294.50°)
OKLaboklab(62.69% 0.0222 -0.1353)
OKLCHoklch(62.69% 0.137 279.3)
XYZxyz(27.6000, 23.6687, 68.7464)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DD9 #D9D478
analogous
#78ADD9 #787DD9 #A378D9
triadic
#787DD9 #D9787D #7DD978
tetradic
#787DD9 #D978AD #D9D478 #78D9A3
square
#787DD9 #D978AD #D9D478 #78D9A3
split-complementary
#787DD9 #D9A378 #ADD978
monochromatic
#2F35A7 #484FCC #787DD9 #A8ABE6 #D8D9F4

Accessibility & contrast

On white

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

On black

5.73
#787DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DD9
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DD9#FFFFFF#000000##000000
##787DD91.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A89DC
Deuteranopia (green-blind)
#5382D7
Tritanopia (blue-blind)
#5790A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #787dd9;
/* rgb */ color: rgb(120, 125, 217);
/* oklch */ color: oklch(62.7% 0.137 279.3);
Tailwind
colors: {
  custom: {
    50: '#a4a2e5',
    500: '#787dd9',
    950: '#000000',
  },
}
SCSS
$custom: #787dd9;
$custom-light: #a4a2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#787dd9",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 217
  },
  "hsl": {
    "h": 236.907,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62693,
    "c": 0.13713,
    "h": 279.3
  },
  "luminance": 0.2367
}

Semantic roles & 50–950 ramp

primary
#787DD9
secondary
#E6E5C6
accent
#BB22C4
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #787DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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