#787EEF#787EEF

#787EEF is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.2% C 0.166 H 278.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#787EEF
RGBrgb(120, 126, 239)
HSLhsl(237, 79%, 70%)
HSVhsv(237, 50%, 94%)
CMYKcmyk(49.8%, 47.3%, 0%, 6.3%)
CIE-LABlab(57.22, 27.78, -57.83)
CIE-LCHlch(57.22, 64.15, 295.66°)
OKLaboklab(64.2% 0.0241 -0.1645)
OKLCHoklch(64.2% 0.166 278.3)
XYZxyz(30.7817, 25.1450, 84.8761)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787EEF #EFE978
analogous
#78B9EF #787EEF #AD78EF
triadic
#787EEF #EF787E #7EEF78
tetradic
#787EEF #EF78B9 #EFE978 #78EFAD
square
#787EEF #EF78B9 #EFE978 #78EFAD
split-complementary
#787EEF #EFAD78 #B9EF78
monochromatic
#1922D4 #414AE9 #787EEF #AFB2F5 #E4E5FC

Accessibility & contrast

On white

3.48
#787EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#787EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787EEF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787EEF#FFFFFF#000000##000000
##787EEF1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF3
Deuteranopia (green-blind)
#4085ED
Tritanopia (blue-blind)
#4896AB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #787eef;
/* rgb */ color: rgb(120, 126, 239);
/* oklch */ color: oklch(64.2% 0.166 278.3);
Tailwind
colors: {
  custom: {
    50: '#a6a3f5',
    500: '#787eef',
    950: '#000000',
  },
}
SCSS
$custom: #787eef;
$custom-light: #a6a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#787eef",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 236.975,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64195,
    "c": 0.16629,
    "h": 278.3
  },
  "luminance": 0.25147
}

Semantic roles & 50–950 ramp

primary
#787EEF
secondary
#F2F0D1
accent
#D10ADB
background
#FAFAFF
surface
#F4F3FE
border
#CECDD6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #787EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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