#7781FE#7781FE

#7781FE is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.6% C 0.183 H 276.7°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7781FE
RGBrgb(119, 129, 254)
HSLhsl(236, 99%, 73%)
HSVhsv(236, 53%, 100%)
CMYKcmyk(53.1%, 49.2%, 0%, 0.4%)
CIE-LABlab(58.77, 30.36, -63.64)
CIE-LCHlch(58.77, 70.51, 295.51°)
OKLaboklab(65.63% 0.0212 -0.1816)
OKLCHoklch(65.63% 0.183 276.7)
XYZxyz(33.3417, 26.7760, 97.1581)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7781FE #FEF477
analogous
#77C4FE #7781FE #B177FE
triadic
#7781FE #FE7781 #81FE77
tetradic
#7781FE #FE77C4 #FEF477 #77FEB1
square
#7781FE #FE77C4 #FEF477 #77FEB1
split-complementary
#7781FE #FEB177 #C4FE77
monochromatic
#0214F9 #3A49FE #7781FE #B4B9FE #E1E3FF

Accessibility & contrast

On white

3.30
#7781FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#7781FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7781FE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7781FE#FFFFFF#000000##000000
##7781FE1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#3188FB
Tritanopia (blue-blind)
#379DB4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7781fe;
/* rgb */ color: rgb(119, 129, 254);
/* oklch */ color: oklch(65.6% 0.183 276.7);
Tailwind
colors: {
  custom: {
    50: '#a7a5ff',
    500: '#7781fe',
    950: '#000000',
  },
}
SCSS
$custom: #7781fe;
$custom-light: #a7a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7781fe",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 235.556,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65631,
    "c": 0.18285,
    "h": 276.7
  },
  "luminance": 0.26778
}

Semantic roles & 50–950 ramp

primary
#7781FE
secondary
#F7F4D4
accent
#D500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7781FE

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

Preview Lab → · Contrast checker → · Palette generator →

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