#787CDA#787CDA

#787CDA is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.6% C 0.140 H 279.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#787CDA
RGBrgb(120, 124, 218)
HSLhsl(238, 57%, 66%)
HSVhsv(238, 45%, 85%)
CMYKcmyk(45%, 43.1%, 0%, 14.5%)
CIE-LABlab(55.55, 22.70, -48.75)
CIE-LCHlch(55.55, 53.77, 294.97°)
OKLaboklab(62.56% 0.0236 -0.1379)
OKLCHoklch(62.56% 0.14 279.7)
XYZxyz(27.6045, 23.4690, 69.3915)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CDA #DAD678
analogous
#78ADDA #787CDA #A578DA
triadic
#787CDA #DA787C #7CDA78
tetradic
#787CDA #DA78AD #DAD678 #78DAA5
square
#787CDA #DA78AD #DAD678 #78DAA5
split-complementary
#787CDA #DAA578 #ADDA78
monochromatic
#2E33A9 #484DCD #787CDA #A8ABE7 #D8D9F4

Accessibility & contrast

On white

3.69
#787CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#787CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CDA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CDA#FFFFFF#000000##000000
##787CDA1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5889DE
Deuteranopia (green-blind)
#5182D8
Tritanopia (blue-blind)
#578FA0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #787cda;
/* rgb */ color: rgb(120, 124, 218);
/* oklch */ color: oklch(62.6% 0.140 279.7);
Tailwind
colors: {
  custom: {
    50: '#a4a1e6',
    500: '#787cda',
    950: '#000000',
  },
}
SCSS
$custom: #787cda;
$custom-light: #a4a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#787cda",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 237.551,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62556,
    "c": 0.13993,
    "h": 279.7
  },
  "luminance": 0.2347
}

Semantic roles & 50–950 ramp

primary
#787CDA
secondary
#E7E6C7
accent
#BE21C5
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #787CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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