#787CD0#787CD0

#787CD0 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 62.0% C 0.126 H 280.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#787CD0
RGBrgb(120, 124, 208)
HSLhsl(237, 48%, 64%)
HSVhsv(237, 42%, 82%)
CMYKcmyk(42.3%, 40.4%, 0%, 18.4%)
CIE-LABlab(55.03, 19.79, -43.93)
CIE-LCHlch(55.03, 48.18, 294.25°)
OKLaboklab(61.99% 0.0218 -0.1238)
OKLCHoklch(61.99% 0.126 280)
XYZxyz(26.3352, 22.9613, 62.7066)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CD0 #D0CC78
analogous
#78A8D0 #787CD0 #A078D0
triadic
#787CD0 #D0787C #7CD078
tetradic
#787CD0 #D078A8 #D0CC78 #78D0A0
square
#787CD0 #D078A8 #D0CC78 #78D0A0
split-complementary
#787CD0 #D0A078 #A8D078
monochromatic
#353A99 #4B50C0 #787CD0 #A5A8E0 #D3D4F0

Accessibility & contrast

On white

3.76
#787CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#787CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CD0
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CD0#FFFFFF#000000##000000
##787CD01.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E87D3
Deuteranopia (green-blind)
#5881CE
Tritanopia (blue-blind)
#5C8D9C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #787cd0;
/* rgb */ color: rgb(120, 124, 208);
/* oklch */ color: oklch(62.0% 0.126 280.0);
Tailwind
colors: {
  custom: {
    50: '#a3a1df',
    500: '#787cd0',
    950: '#000000',
  },
}
SCSS
$custom: #787cd0;
$custom-light: #a3a1df;
$custom-dark: #000000;
JSON
{
  "hex": "#787cd0",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 208
  },
  "hsl": {
    "h": 237.273,
    "s": 48.352,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61991,
    "c": 0.12576,
    "h": 280
  },
  "luminance": 0.22962
}

Semantic roles & 50–950 ramp

primary
#787CD0
secondary
#E1E0C3
accent
#B52ABC
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83

Preview Lab

Preview with #787CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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