#7787DC#7787DC

#7787DC is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.8% C 0.128 H 274.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7787DC
RGBrgb(119, 135, 220)
HSLhsl(230, 59%, 66%)
HSVhsv(230, 46%, 86%)
CMYKcmyk(45.9%, 38.6%, 0%, 13.7%)
CIE-LABlab(58.43, 16.51, -45.31)
CIE-LCHlch(58.43, 48.23, 290.02°)
OKLaboklab(64.77% 0.0094 -0.1279)
OKLCHoklch(64.77% 0.128 274.2)
XYZxyz(29.1860, 26.4156, 71.2571)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7787DC #DCCC77
analogous
#77BADC #7787DC #9A77DC
triadic
#7787DC #DC7787 #87DC77
tetradic
#7787DC #DC77BA #DCCC77 #77DC9A
square
#7787DC #DC77BA #DCCC77 #77DC9A
split-complementary
#7787DC #DC9A77 #BADC77
monochromatic
#2C41AC #465CCF #7787DC #A8B2E9 #D8DDF5

Accessibility & contrast

On white

3.34
#7787DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#7787DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7787DC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7787DC#FFFFFF#000000##000000
##7787DC1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791DF
Deuteranopia (green-blind)
#5E89DA
Tritanopia (blue-blind)
#5299A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7787dc;
/* rgb */ color: rgb(119, 135, 220);
/* oklch */ color: oklch(64.8% 0.128 274.2);
Tailwind
colors: {
  custom: {
    50: '#a3a9e7',
    500: '#7787dc',
    950: '#000000',
  },
}
SCSS
$custom: #7787dc;
$custom-light: #a3a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7787dc",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 230.495,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64772,
    "c": 0.12821,
    "h": 274.2
  },
  "luminance": 0.26417
}

Semantic roles & 50–950 ramp

primary
#7787DC
secondary
#E8E3C7
accent
#AC1FC7
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F0F16
muted
#7F7F84

Preview Lab

Preview with #7787DC

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

Preview Lab → · Contrast checker → · Palette generator →

#7787DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva