#7781EB#7781EB

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

Color values

HEX#7781EB
RGBrgb(119, 129, 235)
HSLhsl(235, 74%, 69%)
HSVhsv(235, 49%, 92%)
CMYKcmyk(49.4%, 45.1%, 0%, 7.8%)
CIE-LABlab(57.67, 24.56, -54.88)
CIE-LCHlch(57.67, 60.13, 294.11°)
OKLaboklab(64.45% 0.0191 -0.1559)
OKLCHoklch(64.45% 0.157 277)
XYZxyz(30.4487, 25.6188, 81.9216)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7781EB #EBE177
analogous
#77BBEB #7781EB #A777EB
triadic
#7781EB #EB7781 #81EB77
tetradic
#7781EB #EB77BB #EBE177 #77EBA7
square
#7781EB #EB77BB #EBE177 #77EBA7
split-complementary
#7781EB #EBA777 #BBEB77
monochromatic
#1E2DCA #4250E3 #7781EB #ACB2F3 #E2E4FB

Accessibility & contrast

On white

3.43
#7781EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7781EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7781EB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7781EB#FFFFFF#000000##000000
##7781EB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEF
Deuteranopia (green-blind)
#4986E9
Tritanopia (blue-blind)
#4998AB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7781eb;
/* rgb */ color: rgb(119, 129, 235);
/* oklch */ color: oklch(64.5% 0.157 277.0);
Tailwind
colors: {
  custom: {
    50: '#a5a5f2',
    500: '#7781eb',
    950: '#000000',
  },
}
SCSS
$custom: #7781eb;
$custom-light: #a5a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7781eb",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 234.828,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64451,
    "c": 0.15705,
    "h": 277
  },
  "luminance": 0.25621
}

Semantic roles & 50–950 ramp

primary
#7781EB
secondary
#F0EDCE
accent
#C50FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7781EB

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

Preview Lab → · Contrast checker → · Palette generator →

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