#787BED#787BED

#787BED is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.5% C 0.168 H 279.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#787BED
RGBrgb(120, 123, 237)
HSLhsl(238, 76%, 70%)
HSVhsv(238, 49%, 93%)
CMYKcmyk(49.4%, 48.1%, 0%, 7.1%)
CIE-LABlab(56.36, 28.96, -58.09)
CIE-LCHlch(56.36, 64.91, 296.49°)
OKLaboklab(63.51% 0.0272 -0.1653)
OKLCHoklch(63.51% 0.168 279.4)
XYZxyz(30.1100, 24.2717, 83.2027)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787BED #EDEA78
analogous
#78B5ED #787BED #B078ED
triadic
#787BED #ED787B #7BED78
tetradic
#787BED #ED78B5 #EDEA78 #78EDB0
square
#787BED #ED78B5 #EDEA78 #78EDB0
split-complementary
#787BED #EDB078 #B5ED78
monochromatic
#1C20CF #4246E6 #787BED #AEB0F4 #E4E5FB

Accessibility & contrast

On white

3.59
#787BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#787BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787BED
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787BED#FFFFFF#000000##000000
##787BED1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#478CF1
Deuteranopia (green-blind)
#3D83EB
Tritanopia (blue-blind)
#4A94A9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #787bed;
/* rgb */ color: rgb(120, 123, 237);
/* oklch */ color: oklch(63.5% 0.168 279.4);
Tailwind
colors: {
  custom: {
    50: '#a6a1f3',
    500: '#787bed',
    950: '#000000',
  },
}
SCSS
$custom: #787bed;
$custom-light: #a6a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#787bed",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 238.462,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.6351,
    "c": 0.16756,
    "h": 279.4
  },
  "luminance": 0.24273
}

Semantic roles & 50–950 ramp

primary
#787BED
secondary
#F1F0D0
accent
#D30DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #787BED

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

Preview Lab → · Contrast checker → · Palette generator →

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