#787DD5#787DD5

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

Color values

HEX#787DD5
RGBrgb(120, 125, 213)
HSLhsl(237, 53%, 65%)
HSVhsv(237, 44%, 84%)
CMYKcmyk(43.7%, 41.3%, 0%, 16.5%)
CIE-LABlab(55.55, 20.64, -45.94)
CIE-LCHlch(55.55, 50.36, 294.20°)
OKLaboklab(62.47% 0.0215 -0.1297)
OKLCHoklch(62.47% 0.131 279.4)
XYZxyz(27.0860, 23.4631, 66.0395)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DD5 #D5D078
analogous
#78ABD5 #787DD5 #A178D5
triadic
#787DD5 #D5787D #7DD578
tetradic
#787DD5 #D578AB #D5D078 #78D5A1
square
#787DD5 #D578AB #D5D078 #78D5A1
split-complementary
#787DD5 #D5A178 #ABD578
monochromatic
#3238A1 #4950C6 #787DD5 #A7AAE4 #D5D7F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##787DD5#FFFFFF#000000##000000
##787DD51.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)
#5C89D8
Deuteranopia (green-blind)
#5682D3
Tritanopia (blue-blind)
#5A8F9F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #787dd5;
/* rgb */ color: rgb(120, 125, 213);
/* oklch */ color: oklch(62.5% 0.131 279.4);
Tailwind
colors: {
  custom: {
    50: '#a3a2e2',
    500: '#787dd5',
    950: '#000000',
  },
}
SCSS
$custom: #787dd5;
$custom-light: #a3a2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#787dd5",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 213
  },
  "hsl": {
    "h": 236.774,
    "s": 52.542,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62466,
    "c": 0.13148,
    "h": 279.4
  },
  "luminance": 0.23464
}

Semantic roles & 50–950 ramp

primary
#787DD5
secondary
#E4E2C5
accent
#B826C0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83

Preview Lab

Preview with #787DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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