#787BDD#787BDD

#787BDD is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.5% C 0.146 H 280.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#787BDD
RGBrgb(120, 123, 221)
HSLhsl(238, 60%, 67%)
HSVhsv(238, 46%, 87%)
CMYKcmyk(45.7%, 44.3%, 0%, 13.3%)
CIE-LABlab(55.46, 24.18, -50.58)
CIE-LCHlch(55.46, 56.06, 295.55°)
OKLaboklab(62.54% 0.0252 -0.1433)
OKLCHoklch(62.54% 0.146 280)
XYZxyz(27.8759, 23.3781, 71.4362)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787BDD #DDDA78
analogous
#78AEDD #787BDD #A878DD
triadic
#787BDD #DD787B #7BDD78
tetradic
#787BDD #DD78AE #DDDA78 #78DDA8
square
#787BDD #DD78AE #DDDA78 #78DDA8
split-complementary
#787BDD #DDA878 #AEDD78
monochromatic
#2C30AF #474BD1 #787BDD #A9ABE9 #DADBF6

Accessibility & contrast

On white

3.70
#787BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#787BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787BDD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787BDD#FFFFFF#000000##000000
##787BDD1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5489E1
Deuteranopia (green-blind)
#4D81DB
Tritanopia (blue-blind)
#558FA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #787bdd;
/* rgb */ color: rgb(120, 123, 221);
/* oklch */ color: oklch(62.5% 0.146 280.0);
Tailwind
colors: {
  custom: {
    50: '#a4a1e8',
    500: '#787bdd',
    950: '#000000',
  },
}
SCSS
$custom: #787bdd;
$custom-light: #a4a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#787bdd",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 238.218,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62538,
    "c": 0.14551,
    "h": 280
  },
  "luminance": 0.23379
}

Semantic roles & 50–950 ramp

primary
#787BDD
secondary
#E9E8C8
accent
#C21EC7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #787BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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