#787FED#787FED

#787FED is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.3% C 0.162 H 278.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#787FED
RGBrgb(120, 127, 237)
HSLhsl(236, 76%, 70%)
HSVhsv(236, 49%, 93%)
CMYKcmyk(49.4%, 46.4%, 0%, 7.1%)
CIE-LABlab(57.35, 26.58, -56.50)
CIE-LCHlch(57.35, 62.44, 295.19°)
OKLaboklab(64.26% 0.0227 -0.1606)
OKLCHoklch(64.26% 0.162 278)
XYZxyz(30.6164, 25.2845, 83.3715)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FED #EDE678
analogous
#78BAED #787FED #AB78ED
triadic
#787FED #ED787F #7FED78
tetradic
#787FED #ED78BA #EDE678 #78EDAB
square
#787FED #ED78BA #EDE678 #78EDAB
split-complementary
#787FED #EDAB78 #BAED78
monochromatic
#1C26CF #424CE6 #787FED #AEB2F4 #E4E5FB

Accessibility & contrast

On white

3.47
#787FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#787FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FED
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FED#FFFFFF#000000##000000
##787FED1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF1
Deuteranopia (green-blind)
#4485EB
Tritanopia (blue-blind)
#4A97AB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #787fed;
/* rgb */ color: rgb(120, 127, 237);
/* oklch */ color: oklch(64.3% 0.162 278.0);
Tailwind
colors: {
  custom: {
    50: '#a6a4f3',
    500: '#787fed',
    950: '#000000',
  },
}
SCSS
$custom: #787fed;
$custom-light: #a6a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#787fed",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 236.41,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.64261,
    "c": 0.16224,
    "h": 278
  },
  "luminance": 0.25286
}

Semantic roles & 50–950 ramp

primary
#787FED
secondary
#F1EFD0
accent
#CC0DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #787FED

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

Preview Lab → · Contrast checker → · Palette generator →

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