#787CDD#787CDD

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

Color values

HEX#787CDD
RGBrgb(120, 124, 221)
HSLhsl(238, 60%, 67%)
HSVhsv(238, 46%, 87%)
CMYKcmyk(45.7%, 43.9%, 0%, 13.3%)
CIE-LABlab(55.71, 23.59, -50.18)
CIE-LCHlch(55.71, 55.45, 295.18°)
OKLaboklab(62.73% 0.024 -0.1421)
OKLCHoklch(62.73% 0.144 279.6)
XYZxyz(28.0006, 23.6274, 71.4777)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CDD #DDD978
analogous
#78AFDD #787CDD #A778DD
triadic
#787CDD #DD787C #7CDD78
tetradic
#787CDD #DD78AF #DDD978 #78DDA7
square
#787CDD #DD78AF #DDD978 #78DDA7
split-complementary
#787CDD #DDA778 #AFDD78
monochromatic
#2C31AF #474DD1 #787CDD #A9ABE9 #DADBF6

Accessibility & contrast

On white

3.67
#787CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##787CDD#FFFFFF#000000##000000
##787CDD1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689E1
Deuteranopia (green-blind)
#4F82DB
Tritanopia (blue-blind)
#5590A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #787cdd;
/* rgb */ color: rgb(120, 124, 221);
/* oklch */ color: oklch(62.7% 0.144 279.6);
Tailwind
colors: {
  custom: {
    50: '#a4a1e8',
    500: '#787cdd',
    950: '#000000',
  },
}
SCSS
$custom: #787cdd;
$custom-light: #a4a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#787cdd",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 221
  },
  "hsl": {
    "h": 237.624,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62731,
    "c": 0.14413,
    "h": 279.6
  },
  "luminance": 0.23629
}

Semantic roles & 50–950 ramp

primary
#787CDD
secondary
#E9E7C8
accent
#C11EC7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #787CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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