#7781EA#7781EA

#7781EA is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.4% C 0.156 H 277.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7781EA
RGBrgb(119, 129, 234)
HSLhsl(235, 73%, 69%)
HSVhsv(235, 49%, 92%)
CMYKcmyk(49.1%, 44.9%, 0%, 8.2%)
CIE-LABlab(57.62, 24.26, -54.41)
CIE-LCHlch(57.62, 59.58, 294.03°)
OKLaboklab(64.39% 0.0189 -0.1545)
OKLCHoklch(64.39% 0.156 277)
XYZxyz(30.3047, 25.5612, 81.1629)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7781EA #EAE077
analogous
#77BAEA #7781EA #A777EA
triadic
#7781EA #EA7781 #81EA77
tetradic
#7781EA #EA77BA #EAE077 #77EAA7
square
#7781EA #EA77BA #EAE077 #77EAA7
split-complementary
#7781EA #EAA777 #BAEA77
monochromatic
#1F2EC8 #4250E2 #7781EA #ACB2F2 #E1E3FA

Accessibility & contrast

On white

3.44
#7781EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#7781EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7781EA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7781EA#FFFFFF#000000##000000
##7781EA1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#4A86E8
Tritanopia (blue-blind)
#4A97AA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7781ea;
/* rgb */ color: rgb(119, 129, 234);
/* oklch */ color: oklch(64.4% 0.156 277.0);
Tailwind
colors: {
  custom: {
    50: '#a5a5f1',
    500: '#7781ea',
    950: '#000000',
  },
}
SCSS
$custom: #7781ea;
$custom-light: #a5a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7781ea",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 234.783,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64391,
    "c": 0.15568,
    "h": 277
  },
  "luminance": 0.25563
}

Semantic roles & 50–950 ramp

primary
#7781EA
secondary
#EFECCE
accent
#C410D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7781EA

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

Preview Lab → · Contrast checker → · Palette generator →

#7781EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva