#787FDC#787FDC

#787FDC is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.3% C 0.139 H 278.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#787FDC
RGBrgb(120, 127, 220)
HSLhsl(236, 59%, 67%)
HSVhsv(236, 45%, 86%)
CMYKcmyk(45.5%, 42.3%, 0%, 13.7%)
CIE-LABlab(56.42, 21.50, -48.49)
CIE-LCHlch(56.42, 53.04, 293.92°)
OKLaboklab(63.26% 0.0202 -0.1371)
OKLCHoklch(63.26% 0.139 278.4)
XYZxyz(28.2494, 24.3377, 70.9054)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FDC #DCD578
analogous
#78B1DC #787FDC #A378DC
triadic
#787FDC #DC787F #7FDC78
tetradic
#787FDC #DC78B1 #DCD578 #78DCA3
square
#787FDC #DC78B1 #DCD578 #78DCA3
split-complementary
#787FDC #DCA378 #B1DC78
monochromatic
#2D36AD #4751CF #787FDC #A9ADE9 #D9DBF5

Accessibility & contrast

On white

3.58
#787FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#787FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FDC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FDC#FFFFFF#000000##000000
##787FDC1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8BE0
Deuteranopia (green-blind)
#5484DA
Tritanopia (blue-blind)
#5592A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #787fdc;
/* rgb */ color: rgb(120, 127, 220);
/* oklch */ color: oklch(63.3% 0.139 278.4);
Tailwind
colors: {
  custom: {
    50: '#a4a4e7',
    500: '#787fdc',
    950: '#000000',
  },
}
SCSS
$custom: #787fdc;
$custom-light: #a4a4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#787fdc",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 235.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63255,
    "c": 0.13863,
    "h": 278.4
  },
  "luminance": 0.24339
}

Semantic roles & 50–950 ramp

primary
#787FDC
secondary
#E8E6C8
accent
#BB1FC6
background
#FAFAFE
surface
#F4F3FC
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #787FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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