#787DCD#787DCD

#787DCD is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.0% C 0.120 H 279.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#787DCD
RGBrgb(120, 125, 205)
HSLhsl(236, 46%, 64%)
HSVhsv(236, 41%, 80%)
CMYKcmyk(41.5%, 39%, 0%, 19.6%)
CIE-LABlab(55.14, 18.33, -42.06)
CIE-LCHlch(55.14, 45.88, 293.55°)
OKLaboklab(62.03% 0.0199 -0.1184)
OKLCHoklch(62.03% 0.12 279.6)
XYZxyz(26.0955, 23.0669, 60.8231)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DCD #CDC878
analogous
#78A7CD #787DCD #9D78CD
triadic
#787DCD #CD787D #7DCD78
tetradic
#787DCD #CD78A7 #CDC878 #78CD9D
square
#787DCD #CD78A7 #CDC878 #78CD9D
split-complementary
#787DCD #CD9D78 #A7CD78
monochromatic
#373C94 #4B52BC #787DCD #A5A8DE #D1D3EE

Accessibility & contrast

On white

3.74
#787DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#787DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DCD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DCD#FFFFFF#000000##000000
##787DCD1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#5E8D9B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #787dcd;
/* rgb */ color: rgb(120, 125, 205);
/* oklch */ color: oklch(62.0% 0.120 279.6);
Tailwind
colors: {
  custom: {
    50: '#a2a2dc',
    500: '#787dcd',
    950: '#000000',
  },
}
SCSS
$custom: #787dcd;
$custom-light: #a2a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#787dcd",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 236.471,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62025,
    "c": 0.12006,
    "h": 279.6
  },
  "luminance": 0.23068
}

Semantic roles & 50–950 ramp

primary
#787DCD
secondary
#DFDEC1
accent
#B12CB9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83

Preview Lab

Preview with #787DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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